@@ -11,7 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | final class AllowAll implements AccessCheckerInterface |
13 | 13 | { |
14 | - public function userHasPermission(int|string|Stringable|null $userId, string $permissionName, array $parameters = []): bool |
|
14 | + public function userHasPermission(int | string | Stringable | null $userId, string $permissionName, array $parameters = [ ]): bool |
|
15 | 15 | { |
16 | 16 | return true; |
17 | 17 | } |
@@ -11,7 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | final class DenyAll implements AccessCheckerInterface |
13 | 13 | { |
14 | - public function userHasPermission(int|string|Stringable|null $userId, string $permissionName, array $parameters = []): bool |
|
14 | + public function userHasPermission(int | string | Stringable | null $userId, string $permissionName, array $parameters = [ ]): bool |
|
15 | 15 | { |
16 | 16 | return false; |
17 | 17 | } |
@@ -26,5 +26,5 @@ |
||
26 | 26 | * |
27 | 27 | * @return bool Whether the user has the specified permission. |
28 | 28 | */ |
29 | - public function userHasPermission(int|string|Stringable|null $userId, string $permissionName, array $parameters = []): bool; |
|
29 | + public function userHasPermission(int | string | Stringable | null $userId, string $permissionName, array $parameters = [ ]): bool; |
|
30 | 30 | } |