Completed
Push — master ( 8c64c3...017009 )
by Song
02:56
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
@@ -169,7 +169,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.