Passed
Push — metatags ( 38688a )
by Arnaud
04:53
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
             }
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
 
340 340
             try {
341 341
                 $img = ImageManager::make($this->data['source']);
342
-                $img->resize($size, null, function (\Intervention\Image\Constraint $constraint) {
342
+                $img->resize($size, null, function(\Intervention\Image\Constraint $constraint) {
343 343
                     $constraint->aspectRatio();
344 344
                     $constraint->upsize();
345 345
                 });
Please login to merge, or discard this patch.