@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | $this->mergeConfigFrom(__DIR__.'/../config/laravel-glide.php', 'laravel-glide'); |
25 | 25 | |
26 | - $this->app->bind('laravel-glide-image', function () { |
|
26 | + $this->app->bind('laravel-glide-image', function() { |
|
27 | 27 | |
28 | 28 | return new GlideImage(); |
29 | 29 |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\Glide; |
4 | 4 | |
5 | +use League\Flysystem\Adapter\Local; |
|
6 | +use League\Flysystem\Filesystem; |
|
5 | 7 | use League\Glide\ServerFactory; |
6 | 8 | use Spatie\Glide\Exceptions\SourceFileDoesNotExist; |
7 | -use League\Flysystem\Filesystem; |
|
8 | -use League\Flysystem\Adapter\Local; |
|
9 | 9 | |
10 | 10 | class GlideImage |
11 | 11 | { |
@@ -72,7 +72,7 @@ |
||
72 | 72 | { |
73 | 73 | $pathParts = pathinfo($this->modificationParameters['mark']); |
74 | 74 | |
75 | - $modificationParameters = collect($this->modificationParameters)->map(function ($item, $key) use ($pathParts) { |
|
75 | + $modificationParameters = collect($this->modificationParameters)->map(function($item, $key) use ($pathParts) { |
|
76 | 76 | |
77 | 77 | if ($key === 'mark') { |
78 | 78 | $item = $pathParts['basename']; |