@@ -20,7 +20,8 @@ |
||
| 20 | 20 | if (Auth::guard($guard)->guest()) { |
| 21 | 21 | if ($request->ajax() || $request->wantsJson()) { |
| 22 | 22 | return response('Unauthorized.', 401); |
| 23 | - } else { |
|
| 23 | + } |
|
| 24 | + else { |
|
| 24 | 25 | return redirect()->guest('login'); |
| 25 | 26 | } |
| 26 | 27 | } |
@@ -194,7 +194,7 @@ |
||
| 194 | 194 | * Forget a key and all children |
| 195 | 195 | * This cannot forget variables set in config.php |
| 196 | 196 | * |
| 197 | - * @param $key string Explicit key to forget |
|
| 197 | + * @param string $key string Explicit key to forget |
|
| 198 | 198 | */ |
| 199 | 199 | public function forget($key) |
| 200 | 200 | { |