Passed
Push — master ( 1ffd02...b93f0b )
by Bertrand
06:21
created
app/Http/Middleware/CheckRole.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
      */
17 17
     public function handle($request, Closure $next)
18 18
     {
19
-        if(Auth::user() !== null && !Auth::user()->hasRole('admin')){
19
+        if (Auth::user() !== null && !Auth::user()->hasRole('admin')) {
20 20
             return redirect(config('neayi.wiki_url'));
21 21
         }
22 22
         return $next($request);
Please login to merge, or discard this patch.