Passed
Push — fix ( fa4dab )
by Arnaud
03:42
created
src/Assets/Asset.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
                 });
Please login to merge, or discard this patch.