Passed
Push — master ( 9db35c...2178f0 )
by Reza
03:13
created
src/Http/Middleware/isAdmin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
 
16 16
         auth()->shouldUse($defaultGuard);
17 17
 
18
-        if(auth()->guest()){
18
+        if (auth()->guest()) {
19 19
             return redirect($redirectPath);
20 20
         }
21 21
 
22
-        if(!AuthFacade::check(auth()->user()->id)){
22
+        if (!AuthFacade::check(auth()->user()->id)) {
23 23
             return redirect($redirectPath);
24 24
         }
25 25
 
Please login to merge, or discard this patch.