Passed
Push — master ( d00037...d6c0e2 )
by Reza
03:20
created
src/Http/Middleware/isAdmin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     public function handle($request, Closure $next)
12 12
     {
13
-        if(!AuthFacade::checkIsAdmin(auth()->user()->id)){
13
+        if (!AuthFacade::checkIsAdmin(auth()->user()->id)) {
14 14
             return redirect(config('easy_panel.redirect_unauthorized'));
15 15
         }
16 16
 
Please login to merge, or discard this patch.