summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-02-14 10:09:09 +0100
committerGitHub <noreply@github.com>2018-02-14 10:09:09 +0100
commitc32a94b78d36aace3237d5b0c6c4069976ff06ad (patch)
tree58cb876586b61cf22d8a2cb7443316c6f1332103 /apps
parentd1fb939e863a6f476d3a0a49d6d9717ff0d713a0 (diff)
parent954da26e26a6f0011efa1432e9de4264e5f5e033 (diff)
downloadnextcloud-server-c32a94b78d36aace3237d5b0c6c4069976ff06ad.tar.gz
nextcloud-server-c32a94b78d36aace3237d5b0c6c4069976ff06ad.zip
Merge pull request #8337 from nextcloud/use-non-alias-method
Use non aliased method instead
Diffstat (limited to 'apps')
-rw-r--r--apps/workflowengine/lib/Check/RequestRemoteAddress.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Check/RequestRemoteAddress.php b/apps/workflowengine/lib/Check/RequestRemoteAddress.php
index de9738fb631..6fa4cfc8800 100644
--- a/apps/workflowengine/lib/Check/RequestRemoteAddress.php
+++ b/apps/workflowengine/lib/Check/RequestRemoteAddress.php
@@ -83,7 +83,7 @@ class RequestRemoteAddress implements ICheck {
}
$decodedValue = explode('/', $value);
- if (sizeof($decodedValue) !== 2) {
+ if (count($decodedValue) !== 2) {
throw new \UnexpectedValueException($this->l->t('The given IP range is invalid'), 2);
}