Skip to content

Commit 6087ea9

Browse files
committed
format files
1 parent e6d611d commit 6087ea9

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

src/LaravelFilemanagerServiceProvider.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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
}

src/Services/ImageService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ public function __call(string $method, array $arguments)
2525

2626
throw new \BadMethodCallException("Method {$method} does not exist on ImageService or ImageManagerInterface.");
2727
}
28-
2928
}

0 commit comments

Comments
 (0)