@@ -37,7 +37,7 @@ |
||
| 37 | 37 | if ($request->expectsJson()) { |
| 38 | 38 | throw new UnauthorizedHttpException('Unauthorized'); |
| 39 | 39 | } else { |
| 40 | - return redirect()->guest(route(app('translator')->getLocale() . '.login')); |
|
| 40 | + return redirect()->guest(route(app('translator')->getLocale().'.login')); |
|
| 41 | 41 | } |
| 42 | 42 | } |
| 43 | 43 | |
@@ -17,8 +17,8 @@ |
||
| 17 | 17 | app(BroadcastManager::class)->routes(); |
| 18 | 18 | |
| 19 | 19 | // Authenticate the user's personal channel... |
| 20 | - app(BroadcastManager::class)->channel('App.Models.User.*', function ($user, $userId) { |
|
| 21 | - return (int)$user->id === (int)$userId; |
|
| 20 | + app(BroadcastManager::class)->channel('App.Models.User.*', function($user, $userId) { |
|
| 21 | + return (int) $user->id === (int) $userId; |
|
| 22 | 22 | }); |
| 23 | 23 | } |
| 24 | 24 | } |