@@ -60,7 +60,7 @@ |
||
| 60 | 60 | f($redirect_url === null){ |
| 61 | 61 | return redirect()->back()->withInput()->withErrors($errors); |
| 62 | 62 | } |
| 63 | - else{ |
|
| 63 | + else { |
|
| 64 | 64 | return redirect($redirect_url)->withInput()->withErrors($errors); |
| 65 | 65 | } |
| 66 | 66 | } |
@@ -59,8 +59,7 @@ |
||
| 59 | 59 | |
| 60 | 60 | f($redirect_url === null){ |
| 61 | 61 | return redirect()->back()->withInput()->withErrors($errors); |
| 62 | - } |
|
| 63 | - else{ |
|
| 62 | + } else{ |
|
| 64 | 63 | return redirect($redirect_url)->withInput()->withErrors($errors); |
| 65 | 64 | } |
| 66 | 65 | } |
@@ -51,10 +51,10 @@ |
||
| 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 | } |
| 57 | - else{ |
|
| 57 | + else { |
|
| 58 | 58 | return redirect($redirect_url)->withInput()->withErrors($errors); |
| 59 | 59 | } |
| 60 | 60 | |
@@ -53,8 +53,7 @@ |
||
| 53 | 53 | if ($user && $user instanceof BannableContract && $user->isBanned()) { |
| 54 | 54 | if($redirect_url === null){ |
| 55 | 55 | return redirect()->back()->withInput()->withErrors($errors); |
| 56 | - } |
|
| 57 | - else{ |
|
| 56 | + } else{ |
|
| 58 | 57 | return redirect($redirect_url)->withInput()->withErrors($errors); |
| 59 | 58 | } |
| 60 | 59 | |