diff --git a/src/Cacher.php b/src/Cacher.php index 4ffaf91..7b8dfec 100644 --- a/src/Cacher.php +++ b/src/Cacher.php @@ -97,7 +97,7 @@ protected function manipulate($image, $width = null, $height = null, bool $cropI $cutY = 0; } - imagecopyresampled($layout, $this->getImageResource($image), 0, 0, $cutX, $cutY, $resizedWidth, $resizedHeight, $cutWidth, $cutHeight); + imagecopyresampled($layout, $this->getImageResource($image), 0, 0, (int) $cutX, (int) $cutY, (int) $resizedWidth, (int) $resizedHeight, (int) $cutWidth, (int) $cutHeight); $this->applySharpen($layout);