Completed
Push — master ( 857394...4794c5 )
by Mahmoud
03:25
created
app/Containers/Authorization/Tasks/AssignRoleTask.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
                 $this->assignRole($user, $role);
55 55
             }
56 56
 
57
-        }else{
57
+        } else{
58 58
             $this->assignRole($user, $roles);
59 59
         }
60 60
 
Please login to merge, or discard this patch.
app/Containers/Authorization/Tasks/AttachPermissionsToRoleTask.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
                 $role->givePermissionTo($permissionName);
49 49
             }
50 50
 
51
-        }else{
51
+        } else{
52 52
             $role->givePermissionTo($permissionNames);
53 53
         }
54 54
 
Please login to merge, or discard this patch.
app/Containers/Application/Middlewares/ApplicationAuthentication.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
                 throw new UserNotPermittedException();
119 119
             }
120 120
 
121
-        }else{
121
+        } else{
122 122
             return (App::make(\Dingo\Api\Http\Middleware\Auth::class))->handle($request, $next);
123 123
             // another way to do handle this is by calling `$user = $this->jwtAuthAdapter->toUser($token);`
124 124
             // and continuing the execution of this code till the last return, but to maintain consistency
Please login to merge, or discard this patch.