summaryrefslogtreecommitdiffstats
path: root/lib/private/Group
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 14:04:56 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 14:04:56 +0200
commit36b3bc8148648eaadcc3769b1624fe1dd4c8bf93 (patch)
treea9f8cda485a75c2e1b9afd559beeb3ded4456942 /lib/private/Group
parent66b743385e3e8cadb6d848cf64e1d86da2fd81b3 (diff)
downloadnextcloud-server-36b3bc8148648eaadcc3769b1624fe1dd4c8bf93.tar.gz
nextcloud-server-36b3bc8148648eaadcc3769b1624fe1dd4c8bf93.zip
Use php keywords in lowercase
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Group')
-rw-r--r--lib/private/Group/Backend.php2
-rw-r--r--lib/private/Group/Group.php2
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 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