Completed
Pull Request — master (#63)
by
unknown
04:33 queued 01:28
created
src/Http/Middleware/ForbidBannedUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         ];
52 52
 
53 53
         if ($user && $user instanceof BannableContract && $user->isBanned()) {
54
-            if($redirect_url === null) {
54
+            if ($redirect_url === null) {
55 55
                 return redirect()->back()->withInput()->withErrors($errors);
56 56
             } else {
57 57
                 return redirect($redirect_url)->withInput()->withErrors($errors);
Please login to merge, or discard this patch.
src/Http/Middleware/LogsOutBannedUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 $this->auth->logout();
58 58
             }
59 59
             
60
-            if($redirect_url === null) {
60
+            if ($redirect_url === null) {
61 61
                 return redirect()->back()->withInput()->withErrors($errors);
62 62
             } else {
63 63
                 return redirect($redirect_url)->withInput()->withErrors($errors);
Please login to merge, or discard this patch.