diff --git a/src/Entities/Group.php b/src/Entities/Group.php index c9ed0c4cf..93e06be79 100644 --- a/src/Entities/Group.php +++ b/src/Entities/Group.php @@ -95,7 +95,7 @@ public function can(string $permission): bool return $this->permissions !== null && $this->permissions !== [] - && !empty(array_intersect($checks, $this->permissions)); + && ! empty(array_intersect($checks, $this->permissions)); } /**