1
0
Fork 0
mirror of synced 2024-06-15 09:14:50 +12:00

remove int conversion

This commit is contained in:
Damodar Lohani 2021-06-11 18:11:04 +05:45
parent 58a1b12c27
commit 4ea0d627f4

View file

@ -343,7 +343,7 @@ App::get('/v1/storage/files/:fileId/preview')
$image = new Image($source);
$image->crop((int) $width, (int) $height, (int) $gravity);
$image->crop((int) $width, (int) $height, $gravity);
if (!empty($opacity) || $opacity==0) {
$image->setOpacity($opacity);