diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-23 21:03:26 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-24 11:39:29 +0200 |
commit | 5f227bd93b23d8a528476e3d9243dae31c9d0050 (patch) | |
tree | faf627e7fbd8c510e897028ac88048d6ae590145 /lib/private/AllConfig.php | |
parent | 5eee110b15169240134fc54672fe38da63bc7fb1 (diff) | |
download | nextcloud-server-5f227bd93b23d8a528476e3d9243dae31c9d0050.tar.gz nextcloud-server-5f227bd93b23d8a528476e3d9243dae31c9d0050.zip |
More phpstorm inspection fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/AllConfig.php')
-rw-r--r-- | lib/private/AllConfig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AllConfig.php b/lib/private/AllConfig.php index 1f59e677a54..52b0679bb20 100644 --- a/lib/private/AllConfig.php +++ b/lib/private/AllConfig.php @@ -409,7 +409,7 @@ class AllConfig implements \OCP\IConfig { array_unshift($queryParams, $key); array_unshift($queryParams, $appName); - $placeholders = (sizeof($chunk) == 50) ? $placeholders50 : implode(',', array_fill(0, sizeof($chunk), '?')); + $placeholders = (count($chunk) === 50) ? $placeholders50 : implode(',', array_fill(0, count($chunk), '?')); $query = 'SELECT `userid`, `configvalue` ' . 'FROM `*PREFIX*preferences` ' . |