@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function register() |
| 26 | 26 | { |
| 27 | - app()->singleton('Lastfm', function () { |
|
| 27 | + app()->singleton('Lastfm', function() { |
|
| 28 | 28 | return new Lastfm(); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function register() |
| 26 | 26 | { |
| 27 | - app()->singleton('iTunes', function () { |
|
| 27 | + app()->singleton('iTunes', function() { |
|
| 28 | 28 | return new iTunes(); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -48,8 +48,8 @@ |
||
| 48 | 48 | protected function mapWebRoutes() |
| 49 | 49 | { |
| 50 | 50 | Route::middleware('web') |
| 51 | - ->namespace($this->namespace) |
|
| 52 | - ->group(base_path('routes/web.php')); |
|
| 51 | + ->namespace($this->namespace) |
|
| 52 | + ->group(base_path('routes/web.php')); |
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | Schema::defaultStringLength(191); |
| 20 | 20 | |
| 21 | 21 | // Add some custom validation rules |
| 22 | - Validator::extend('path.valid', function ($attribute, $value, $parameters, $validator) { |
|
| 22 | + Validator::extend('path.valid', function($attribute, $value, $parameters, $validator) { |
|
| 23 | 23 | return is_dir($value) && is_readable($value); |
| 24 | 24 | }); |
| 25 | 25 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function register() |
| 26 | 26 | { |
| 27 | - app()->singleton('MediaCache', function () { |
|
| 27 | + app()->singleton('MediaCache', function() { |
|
| 28 | 28 | return new MediaCache(); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function register() |
| 26 | 26 | { |
| 27 | - app()->singleton('Util', function () { |
|
| 27 | + app()->singleton('Util', function() { |
|
| 28 | 28 | return new Util(); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function register() |
| 26 | 26 | { |
| 27 | - app()->singleton('YouTube', function () { |
|
| 27 | + app()->singleton('YouTube', function() { |
|
| 28 | 28 | return new YouTube(); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function register() |
| 26 | 26 | { |
| 27 | - app()->singleton('Download', function () { |
|
| 27 | + app()->singleton('Download', function() { |
|
| 28 | 28 | return new Download(); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function register() |
| 26 | 26 | { |
| 27 | - app()->singleton('Media', function () { |
|
| 27 | + app()->singleton('Media', function() { |
|
| 28 | 28 | return new Media(); |
| 29 | 29 | }); |
| 30 | 30 | } |