Completed
Pull Request — master (#1063)
by
unknown
04:00
created
src/LaravelFilemanagerServiceProvider.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -17,32 +17,32 @@  discard block
 block discarded – undo
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
-            __DIR__.'/../resources/lang' => 'resources/lang/vendor/laravel-filemanager',
26
-        ], ['lfm', 'lang', 'lfm_lang']);
25
+            __DIR__ . '/../resources/lang' => 'resources/lang/vendor/laravel-filemanager',
26
+        ], [ 'lfm', 'lang', 'lfm_lang' ]);
27 27
 
28 28
         $this->publishes([
29
-            __DIR__.'/../config/lfm.php' => base_path('config/lfm.php'),
29
+            __DIR__ . '/../config/lfm.php' => base_path('config/lfm.php'),
30 30
         ], 'lfm_config');
31 31
 
32 32
         $this->publishes([
33
-            __DIR__.'/../public' => public_path('vendor/laravel-filemanager'),
33
+            __DIR__ . '/../public' => public_path('vendor/laravel-filemanager'),
34 34
         ], 'lfm_public');
35 35
 
36 36
         $this->publishes([
37
-            __DIR__.'/../resources/views' => base_path('resources/views/vendor/laravel-filemanager'),
37
+            __DIR__ . '/../resources/views' => base_path('resources/views/vendor/laravel-filemanager'),
38 38
         ], 'lfm_view');
39 39
 
40 40
         $this->publishes([
41
-            __DIR__.'/Handlers/LfmConfigHandler.php' => base_path('app/Handlers/LfmConfigHandler.php'),
41
+            __DIR__ . '/Handlers/LfmConfigHandler.php' => base_path('app/Handlers/LfmConfigHandler.php'),
42 42
         ], 'lfm_handler');
43 43
 
44 44
         if (config('lfm.use_package_routes')) {
45
-            Route::group(['prefix' => 'filemanager', 'middleware' => ['web', 'auth']], function () {
45
+            Route::group([ 'prefix' => 'filemanager', 'middleware' => [ 'web', 'auth' ] ], function() {
46 46
                 Lfm::routes();
47 47
             });
48 48
         }
@@ -55,9 +55,9 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function register()
57 57
     {
58
-        $this->mergeConfigFrom(__DIR__.'/../config/lfm.php', 'lfm-config');
58
+        $this->mergeConfigFrom(__DIR__ . '/../config/lfm.php', 'lfm-config');
59 59
 
60
-        $this->app->singleton('laravel-filemanager', function () {
60
+        $this->app->singleton('laravel-filemanager', function() {
61 61
             return true;
62 62
         });
63 63
     }
Please login to merge, or discard this patch.