@@ -200,7 +200,7 @@ discard block |
||
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 |
||
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 | } |