@@ -169,7 +169,7 @@ |
||
| 169 | 169 | $image = InterventionImage::make($file); |
| 170 | 170 | |
| 171 | 171 | // Resize image with aspect ratio |
| 172 | - $image->resize($size[0], $size[1], function (Constraint $constraint) { |
|
| 172 | + $image->resize($size[0], $size[1], function(Constraint $constraint) { |
|
| 173 | 173 | $constraint->aspectRatio(); |
| 174 | 174 | })->resizeCanvas($size[0], $size[1], 'center', false, '#ffffff'); |
| 175 | 175 | |