Completed
Pull Request — master (#3453)
by
unknown
02:21
created
src/Traits/Resizable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      * Generate thumbnail URL.
32 32
      *
33 33
      * @param $image
34
-     * @param $type
34
+     * @param string $type
35 35
      *
36 36
      * @return string
37 37
      */
Please login to merge, or discard this patch.
src/Form/Field/ImageField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
 
161 161
             // Resize image with aspect ratio
162 162
             $image = InterventionImage::make($file);
163
-            $image->resize($size['width'], $size['height'], function (Constraint $constraint) {
163
+            $image->resize($size['width'], $size['height'], function(Constraint $constraint) {
164 164
                 $constraint->aspectRatio();
165 165
             })->resizeCanvas($size['width'], $size['height'], 'center', false, '#ffffff');
166 166
 
Please login to merge, or discard this patch.