summaryrefslogtreecommitdiffstats
path: root/lib/private/Activity
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-23 21:03:26 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-07-24 11:39:29 +0200
commit5f227bd93b23d8a528476e3d9243dae31c9d0050 (patch)
treefaf627e7fbd8c510e897028ac88048d6ae590145 /lib/private/Activity
parent5eee110b15169240134fc54672fe38da63bc7fb1 (diff)
downloadnextcloud-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/Activity')
-rw-r--r--lib/private/Activity/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Activity/Manager.php b/lib/private/Activity/Manager.php
index bbb6f694156..7640a367e74 100644
--- a/lib/private/Activity/Manager.php
+++ b/lib/private/Activity/Manager.php
@@ -588,7 +588,7 @@ class Manager implements IManager {
$users = $this->config->getUsersForUserValue('activity', 'rsstoken', $token);
- if (sizeof($users) !== 1) {
+ if (count($users) !== 1) {
// No unique user found
throw new \UnexpectedValueException('The token is invalid');
}