@@ -17,28 +17,28 @@ discard block |
||
17 | 17 | */ |
18 | 18 | public function boot() |
19 | 19 | { |
20 | - $this->loadTranslationsFrom(__DIR__.'/lang', 'laravel-filemanager'); |
|
20 | + $this->loadTranslationsFrom(__DIR__ . '/lang', 'laravel-filemanager'); |
|
21 | 21 | |
22 | - $this->loadViewsFrom(__DIR__.'/views', 'laravel-filemanager'); |
|
22 | + $this->loadViewsFrom(__DIR__ . '/views', 'laravel-filemanager'); |
|
23 | 23 | |
24 | 24 | $this->publishes([ |
25 | 25 | __DIR__ . '/config/lfm.php' => base_path('config/lfm.php'), |
26 | 26 | ], 'lfm_config'); |
27 | 27 | |
28 | 28 | $this->publishes([ |
29 | - __DIR__.'/../public' => public_path('vendor/laravel-filemanager'), |
|
29 | + __DIR__ . '/../public' => public_path('vendor/laravel-filemanager'), |
|
30 | 30 | ], 'lfm_public'); |
31 | 31 | |
32 | 32 | $this->publishes([ |
33 | - __DIR__.'/views' => base_path('resources/views/vendor/laravel-filemanager'), |
|
33 | + __DIR__ . '/views' => base_path('resources/views/vendor/laravel-filemanager'), |
|
34 | 34 | ], 'lfm_view'); |
35 | 35 | |
36 | 36 | $this->publishes([ |
37 | - __DIR__.'/Handlers/LfmConfigHandler.php' => base_path('app/Handlers/LfmConfigHandler.php'), |
|
37 | + __DIR__ . '/Handlers/LfmConfigHandler.php' => base_path('app/Handlers/LfmConfigHandler.php'), |
|
38 | 38 | ], 'lfm_handler'); |
39 | 39 | |
40 | 40 | if (config('lfm.use_package_routes')) { |
41 | - Route::group(['prefix' => config('lfm.url_prefix'), 'middleware' => config('lfm.middlewares')], function () { |
|
41 | + Route::group([ 'prefix' => config('lfm.url_prefix'), 'middleware' => config('lfm.middlewares') ], function() { |
|
42 | 42 | \UniSharp\LaravelFilemanager\Lfm::routes(); |
43 | 43 | }); |
44 | 44 | } |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | */ |
52 | 52 | public function register() |
53 | 53 | { |
54 | - $this->app->singleton('laravel-filemanager', function () { |
|
54 | + $this->app->singleton('laravel-filemanager', function() { |
|
55 | 55 | return true; |
56 | 56 | }); |
57 | 57 | } |