@@ -22,24 +22,24 @@ class LaravelFilemanagerServiceProvider extends ServiceProvider
2222 */
2323 public function boot ()
2424 {
25- $ this ->loadTranslationsFrom (__DIR__ . '/lang ' , 'laravel-filemanager ' );
25+ $ this ->loadTranslationsFrom (__DIR__ . '/lang ' , 'laravel-filemanager ' );
2626
27- $ this ->loadViewsFrom (__DIR__ . '/views ' , 'laravel-filemanager ' );
27+ $ this ->loadViewsFrom (__DIR__ . '/views ' , 'laravel-filemanager ' );
2828
2929 $ this ->publishes ([
3030 __DIR__ . '/config/lfm.php ' => base_path ('config/lfm.php ' ),
3131 ], 'lfm_config ' );
3232
3333 $ this ->publishes ([
34- __DIR__ . '/../public ' => public_path ('vendor/laravel-filemanager ' ),
34+ __DIR__ . '/../public ' => public_path ('vendor/laravel-filemanager ' ),
3535 ], 'lfm_public ' );
3636
3737 $ this ->publishes ([
38- __DIR__ . '/views ' => base_path ('resources/views/vendor/laravel-filemanager ' ),
38+ __DIR__ . '/views ' => base_path ('resources/views/vendor/laravel-filemanager ' ),
3939 ], 'lfm_view ' );
4040
4141 $ this ->publishes ([
42- __DIR__ . '/Handlers/LfmConfigHandler.php ' => base_path ('app/Handlers/LfmConfigHandler.php ' ),
42+ __DIR__ . '/Handlers/LfmConfigHandler.php ' => base_path ('app/Handlers/LfmConfigHandler.php ' ),
4343 ], 'lfm_handler ' );
4444
4545 if (config ('lfm.use_package_routes ' )) {
@@ -64,14 +64,14 @@ public function register()
6464
6565 $ this ->app ->singleton (ImageManagerInterface::class, function ($ app ) {
6666 $ driver = config ('lfm.intervention_driver ' );
67-
67+
6868 $ driverInstance = match ($ driver ) {
6969 'gd ' => new GdDriver (),
7070 'imagick ' => new ImagickDriver (),
7171 default => null ,
7272 };
7373
74- if (is_null ($ driverInstance )) {
74+ if (is_null ($ driverInstance )) {
7575 \Log::error ("Unsupported image driver [ $ driver]. GdDriver will be used. " );
7676 $ driverInstance = new GdDriver ();
7777 }
0 commit comments