@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | $this->builder = $builder; |
| 63 | 63 | $this->config = $builder->getConfig(); |
| 64 | 64 | $paths = is_array($paths) ? $paths : [$paths]; |
| 65 | - array_walk($paths, function ($path) { |
|
| 65 | + array_walk($paths, function($path) { |
|
| 66 | 66 | if (empty($path)) { |
| 67 | 67 | throw new Exception('The path parameter of "asset() can\'t be empty."'); |
| 68 | 68 | } |
@@ -341,7 +341,7 @@ discard block |
||
| 341 | 341 | |
| 342 | 342 | try { |
| 343 | 343 | $img = ImageManager::make($this->data['content_source']); |
| 344 | - $img->resize($size, null, function (\Intervention\Image\Constraint $constraint) { |
|
| 344 | + $img->resize($size, null, function(\Intervention\Image\Constraint $constraint) { |
|
| 345 | 345 | $constraint->aspectRatio(); |
| 346 | 346 | $constraint->upsize(); |
| 347 | 347 | }); |