@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | */ |
| 18 | 18 | protected function processImage(ImageManager $imageManager, $model) |
| 19 | 19 | { |
| 20 | - if (! in_array(StorageTrait::class, class_uses($model))) { |
|
| 20 | + if (!in_array(StorageTrait::class, class_uses($model))) { |
|
| 21 | 21 | throw new InvalidArgumentException('The model you used does not use the Storage trait'); |
| 22 | 22 | } |
| 23 | 23 | |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | $imageManager |
| 36 | 36 | ->make($originalFile) |
| 37 | 37 | ->fit($thumbNailsDimension, $thumbNailsDimension, |
| 38 | - function ($constraint) { |
|
| 38 | + function($constraint) { |
|
| 39 | 39 | $constraint->upsize(); |
| 40 | 40 | $constraint->aspectRatio(); |
| 41 | 41 | }, 'center') |