@@ -14,13 +14,13 @@ discard block |
||
14 | 14 | */ |
15 | 15 | public function boot() |
16 | 16 | { |
17 | - $this->publishes( [ |
|
18 | - __DIR__ . '/../../../../unisharp/laravel-filemanager/src/lang' => base_path( 'resources/lang/vendor/laravel-filemanager' ) |
|
19 | - ], 'file_manager' ); |
|
17 | + $this->publishes([ |
|
18 | + __DIR__ . '/../../../../unisharp/laravel-filemanager/src/lang' => base_path('resources/lang/vendor/laravel-filemanager') |
|
19 | + ], 'file_manager'); |
|
20 | 20 | |
21 | - $this->publishes( [ |
|
22 | - __DIR__ . '/../../config/lfm.php' => config_path( 'lfm.php' ), |
|
23 | - ], 'file_manager' ); |
|
21 | + $this->publishes([ |
|
22 | + __DIR__ . '/../../config/lfm.php' => config_path('lfm.php'), |
|
23 | + ], 'file_manager'); |
|
24 | 24 | |
25 | 25 | $this->registerServiceProviders(); |
26 | 26 | $this->registerAliases(); |
@@ -31,8 +31,8 @@ discard block |
||
31 | 31 | */ |
32 | 32 | protected function registerServiceProviders() |
33 | 33 | { |
34 | - $this->app->register( LaravelFilemanagerServiceProvider::class ); |
|
35 | - $this->app->register( ImageServiceProvider::class ); |
|
34 | + $this->app->register(LaravelFilemanagerServiceProvider::class); |
|
35 | + $this->app->register(ImageServiceProvider::class); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
@@ -40,6 +40,6 @@ discard block |
||
40 | 40 | */ |
41 | 41 | protected function registerAliases() |
42 | 42 | { |
43 | - AliasLoader::getInstance()->alias( 'Image', \Intervention\Image\Facades\Image::class ); |
|
43 | + AliasLoader::getInstance()->alias('Image', \Intervention\Image\Facades\Image::class); |
|
44 | 44 | } |
45 | 45 | } |