We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 262b341 commit 9895552Copy full SHA for 9895552
src/Traits/HasPermissions.php
@@ -348,7 +348,7 @@ public function getAllPermissions(): Collection
348
/** @var Collection $permissions */
349
$permissions = $this->permissions;
350
351
- if (!is_a($this, Permission::class)) {
+ if (! is_a($this, Permission::class)) {
352
$permissions = $permissions->merge($this->getPermissionsViaRoles());
353
}
354
0 commit comments