diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-04-09 16:25:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 16:25:14 +0200 |
commit | 64510932b8bd7d4d1d490f7da7fb9ebcf21e31c2 (patch) | |
tree | 37fbf7544cbf60faaa4a5935ab1c477d05dfd028 /lib/private/Group | |
parent | c56a273b39186c509c57ef6bec221d3c4e3d81d3 (diff) | |
parent | 36b3bc8148648eaadcc3769b1624fe1dd4c8bf93 (diff) | |
download | nextcloud-server-64510932b8bd7d4d1d490f7da7fb9ebcf21e31c2.tar.gz nextcloud-server-64510932b8bd7d4d1d490f7da7fb9ebcf21e31c2.zip |
Merge pull request #20384 from nextcloud/techdebt/lowercase-keywords
Use php keywords in lowercase
Diffstat (limited to 'lib/private/Group')
-rw-r--r-- | lib/private/Group/Backend.php | 2 | ||||
-rw-r--r-- | lib/private/Group/Group.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Group/Backend.php b/lib/private/Group/Backend.php index 6c2973542cf..4e2f912e7fc 100644 --- a/lib/private/Group/Backend.php +++ b/lib/private/Group/Backend.php @@ -53,7 +53,7 @@ abstract class Backend implements \OCP\GroupInterface { */ public function getSupportedActions() { $actions = 0; - foreach($this->possibleActions AS $action => $methodName) { + foreach($this->possibleActions as $action => $methodName) { if(method_exists($this, $methodName)) { $actions |= $action; } diff --git a/lib/private/Group/Group.php b/lib/private/Group/Group.php index 38f360b6ce5..9eb1b616609 100644 --- a/lib/private/Group/Group.php +++ b/lib/private/Group/Group.php @@ -285,7 +285,7 @@ class Group implements IGroup { public function countDisabled() { $users = false; foreach ($this->backends as $backend) { - if($backend instanceOf ICountDisabledInGroup) { + if($backend instanceof ICountDisabledInGroup) { if($users === false) { //we could directly add to a bool variable, but this would //be ugly |