@@ -31,7 +31,7 @@ |
||
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 | */ |
@@ -154,7 +154,7 @@ |
||
154 | 154 | |
155 | 155 | // Resize image with aspect ratio |
156 | 156 | $image = InterventionImage::make($file); |
157 | - $image->resize($size['width'], $size['height'], function (Constraint $constraint) { |
|
157 | + $image->resize($size['width'], $size['height'], function(Constraint $constraint) { |
|
158 | 158 | $constraint->aspectRatio(); |
159 | 159 | }); |
160 | 160 |