diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-26 17:34:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-26 17:34:55 +0100 |
commit | 9be6050cc42c2760bd2276942a24ba3db288b551 (patch) | |
tree | 068e9565a4c478a7606fc5ca0dff5ad52d7a7550 /lib | |
parent | 97c216ea0627d72059ef7c5d714968fb11c21f78 (diff) | |
parent | 2ad2eb38e83a3b02038fa09ac72c9c4294a91248 (diff) | |
download | nextcloud-server-9be6050cc42c2760bd2276942a24ba3db288b551.tar.gz nextcloud-server-9be6050cc42c2760bd2276942a24ba3db288b551.zip |
Merge pull request #8072 from nextcloud/type-casting
Use type casting instead of *val() method
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Group/Database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php index 9e59505bdf7..a439a978cce 100644 --- a/lib/private/Group/Database.php +++ b/lib/private/Group/Database.php @@ -327,7 +327,7 @@ class Database extends \OC\Group\Backend { $result = $stmt->execute($parameters); $count = $result->fetchOne(); if($count !== false) { - $count = intval($count); + $count = (int)$count; } return $count; } |