@@ -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 | }); |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * Store a newly created resource in storage. |
29 | 29 | * |
30 | - * @return Response |
|
30 | + * @return \Illuminate\Http\RedirectResponse |
|
31 | 31 | */ |
32 | 32 | public function store() |
33 | 33 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * Store a newly created resource in storage. |
29 | 29 | * |
30 | - * @return Response |
|
30 | + * @return \Illuminate\Http\RedirectResponse |
|
31 | 31 | */ |
32 | 32 | public function store() |
33 | 33 | { |
@@ -36,7 +36,7 @@ |
||
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
39 | - * @param $request |
|
39 | + * @param Http\Requests\CreateLeague $request |
|
40 | 40 | * @return static |
41 | 41 | */ |
42 | 42 | public function addLeague($request) |
@@ -46,7 +46,7 @@ |
||
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
49 | - * @param $request |
|
49 | + * @param Http\Requests\CreateTeam $request |
|
50 | 50 | * @return static |
51 | 51 | */ |
52 | 52 | public function addTeam($request) |
@@ -3,8 +3,6 @@ |
||
3 | 3 | namespace App; |
4 | 4 | |
5 | 5 | use Illuminate\Database\Eloquent\Model; |
6 | -use App\Http\Requests\Request; |
|
7 | -use Illuminate\Support\Facades\File; |
|
8 | 6 | use Illuminate\Support\Facades\Storage; |
9 | 7 | |
10 | 8 | /** |