Test Failed
Pull Request — master (#148)
by webdevetc
07:37 queued 03:39
created
src/Services/UploadsService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
             if (isset($image_size_details['crop']) && $image_size_details['crop']) {
201 201
                 $resizedImage = $resizedImage->fit($w, $h);
202 202
             } else {
203
-                $resizedImage = $resizedImage->resize($w, $h, static function ($constraint) {
203
+                $resizedImage = $resizedImage->resize($w, $h, static function($constraint) {
204 204
                     $constraint->aspectRatio();
205 205
                 });
206 206
             }
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
             if (isset($imageSizeDetails['crop']) && $imageSizeDetails['crop']) {
411 411
                 $resizedImage = $resizedImage->fit($w, $h);
412 412
             } else {
413
-                $resizedImage = $resizedImage->resize($w, $h, static function (Constraint $constraint) {
413
+                $resizedImage = $resizedImage->resize($w, $h, static function(Constraint $constraint) {
414 414
                     $constraint->aspectRatio();
415 415
                 });
416 416
             }
Please login to merge, or discard this patch.