From 36b3bc8148648eaadcc3769b1624fe1dd4c8bf93 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Thu, 9 Apr 2020 14:04:56 +0200 Subject: Use php keywords in lowercase Signed-off-by: Christoph Wurst --- lib/private/Group/Backend.php | 2 +- lib/private/Group/Group.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/private/Group') 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 90b4221b414..d9b2785a7a7 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 -- cgit v1.2.3