Passed
Push — master ( bfc6a1...80605f )
by Hergen
22:17 queued 18:30
created
src/Middlewares/RoleMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
         $user_roles = array_map('strtolower', Auth::user()->roles);
17 17
         $same = (array_intersect($roles, $user_roles));
18 18
 
19
-        if (! $same) {
19
+        if (!$same) {
20 20
             throw AuthException::auth('401', 'User does not have right roles');
21 21
         }
22 22
 
Please login to merge, or discard this patch.