@@ -84,8 +84,8 @@ |
||
84 | 84 | |
85 | 85 | |
86 | 86 | /** |
87 | - * @var array $validators Validation checks |
|
88 | - */ |
|
87 | + * @var array $validators Validation checks |
|
88 | + */ |
|
89 | 89 | public static $validators = []; |
90 | 90 | |
91 | 91 | /** |
@@ -409,7 +409,7 @@ discard block |
||
409 | 409 | // resize photo to thumbnail |
410 | 410 | if ($cropped) { |
411 | 411 | imagecopyresampled( |
412 | - $image, |
|
412 | + $image, |
|
413 | 413 | $srcImage, |
414 | 414 | ($thumbWidth - $scaledWidth) / 2, |
415 | 415 | ($thumbHeight - $scaledHeight) / 2, |
@@ -422,7 +422,7 @@ discard block |
||
422 | 422 | ); |
423 | 423 | } else { |
424 | 424 | imagecopyresampled( |
425 | - $image, |
|
425 | + $image, |
|
426 | 426 | $srcImage, |
427 | 427 | round(($thumbWidth - $scaledWidth) / 2), |
428 | 428 | round(($thumbHeight - $scaledHeight) / 2), |