@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | Route::group([ |
64 | 64 | 'middleware' => 'web', |
65 | 65 | 'namespace' => $this->namespace, |
66 | - ], function () { |
|
66 | + ], function() { |
|
67 | 67 | require base_path('routes/web.php'); |
68 | 68 | }); |
69 | 69 | } |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | 'middleware' => 'api', |
82 | 82 | 'namespace' => $this->namespace, |
83 | 83 | 'prefix' => 'api', |
84 | - ], function () { |
|
84 | + ], function() { |
|
85 | 85 | require base_path('routes/api.php'); |
86 | 86 | }); |
87 | 87 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | /* |
24 | 24 | * Authenticate the user's personal channel... |
25 | 25 | */ |
26 | - Broadcast::channel('App.User.*', function ($user, $userId) { |
|
26 | + Broadcast::channel('App.User.*', function($user, $userId) { |
|
27 | 27 | return (int)$user->id === (int)$userId; |
28 | 28 | }); |
29 | 29 | } |
@@ -15,14 +15,14 @@ |
||
15 | 15 | */ |
16 | 16 | protected function registerAuthenticator() |
17 | 17 | { |
18 | - $this->app->bind('auth', function ($app) { |
|
18 | + $this->app->bind('auth', function($app) { |
|
19 | 19 | // Once the authentication service has actually been requested by the developer |
20 | 20 | // we will set a variable in the application indicating such. This helps us |
21 | 21 | // know that we need to set any queued cookies in the after event later. |
22 | 22 | $app['auth.loaded'] = true; |
23 | 23 | return new AuthManager($app); |
24 | 24 | }); |
25 | - $this->app->singleton('auth.driver', function ($app) { |
|
25 | + $this->app->singleton('auth.driver', function($app) { |
|
26 | 26 | // return $app['auth']->driver(); |
27 | 27 | return $app['auth']->guard(); |
28 | 28 | }); |