Passed
Pull Request — master (#49)
by
unknown
02:20
created
src/AllowAll.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/DenyAll.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/AccessCheckerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,5 +26,5 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.