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