Passed
Pull Request — master (#17)
by Sergei
02:29
created
src/EnumAccessChecker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      *
33 33
      * @return bool Whether the user has the specified permission.
34 34
      */
35
-    public function userHasPermission(int|string|null $userId, BackedEnum $permission, array $parameters = []): bool
35
+    public function userHasPermission(int | string | null $userId, BackedEnum $permission, array $parameters = [ ]): bool
36 36
     {
37 37
         return $this->accessChecker->userHasPermission($userId, (string) $permission->value, $parameters);
38 38
     }
Please login to merge, or discard this patch.