@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | |
190 | 190 | $action = $size[2] ?? 'resize'; |
191 | 191 | // Resize image with aspect ratio |
192 | - $image->$action($size[0], $size[1], function (Constraint $constraint) { |
|
192 | + $image->$action($size[0], $size[1], function(Constraint $constraint) { |
|
193 | 193 | $constraint->aspectRatio(); |
194 | 194 | })->resizeCanvas($size[0], $size[1], 'center', false, '#ffffff'); |
195 | 195 | |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | * @param bool $thumb |
250 | 250 | * @return $this |
251 | 251 | */ |
252 | - public function webp(int $quality=70, bool $thumb=true) |
|
252 | + public function webp(int $quality = 70, bool $thumb = true) |
|
253 | 253 | { |
254 | 254 | $this->webp = [ |
255 | 255 | 'quality' => $quality, |