@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | $this->builder = $builder; |
69 | 69 | $this->config = $builder->getConfig(); |
70 | 70 | $paths = is_array($paths) ? $paths : [$paths]; |
71 | - array_walk($paths, function ($path) { |
|
71 | + array_walk($paths, function($path) { |
|
72 | 72 | if (empty($path)) { |
73 | 73 | throw new RuntimeException('The path parameter of "asset() can\'t be empty."'); |
74 | 74 | } |
@@ -412,7 +412,7 @@ discard block |
||
412 | 412 | |
413 | 413 | try { |
414 | 414 | $img = ImageManager::make($assetResized->data['content_source']); |
415 | - $img->resize($size, null, function (\Intervention\Image\Constraint $constraint) { |
|
415 | + $img->resize($size, null, function(\Intervention\Image\Constraint $constraint) { |
|
416 | 416 | $constraint->aspectRatio(); |
417 | 417 | $constraint->upsize(); |
418 | 418 | }); |