aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Group/Group.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Group/Group.php')
-rw-r--r--lib/private/Group/Group.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Group/Group.php b/lib/private/Group/Group.php
index 90b4221b414..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
@@ -398,7 +398,7 @@ class Group implements IGroup {
* @since 16.0.0
*/
public function hideFromCollaboration(): bool {
- return array_reduce($this->backends, function(bool $hide, GroupInterface $backend) {
+ return array_reduce($this->backends, function (bool $hide, GroupInterface $backend) {
return $hide | ($backend instanceof IHideFromCollaborationBackend && $backend->hideGroup($this->gid));
}, false);
}