diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-26 15:01:27 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-01-26 15:01:27 +0100 |
commit | 2ad2eb38e83a3b02038fa09ac72c9c4294a91248 (patch) | |
tree | 138f73ea684fbb929ee6eff6a7cefdc32e156724 /lib/private/Group | |
parent | ca493ab5b1288d53f203d74117a8e636a606e633 (diff) | |
download | nextcloud-server-2ad2eb38e83a3b02038fa09ac72c9c4294a91248.tar.gz nextcloud-server-2ad2eb38e83a3b02038fa09ac72c9c4294a91248.zip |
Use type casting instead of *val() method
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Group')
-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; } |