Completed
Pull Request — master (#4305)
by
unknown
02:42
created
src/Form/Field/ImageField.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.