Completed
Pull Request — master (#42)
by Şəhriyar
330:41 queued 327:35
created
app/Http/Middleware/Authenticate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Providers/BroadcastServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.