summaryrefslogtreecommitdiffstats
path: root/lib/private/Group
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-26 15:01:27 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-01-26 15:01:27 +0100
commit2ad2eb38e83a3b02038fa09ac72c9c4294a91248 (patch)
tree138f73ea684fbb929ee6eff6a7cefdc32e156724 /lib/private/Group
parentca493ab5b1288d53f203d74117a8e636a606e633 (diff)
downloadnextcloud-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.php2
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;
}