Upgrade Docker image to PHP 8.2

This commit is contained in:
Frédéric Guillot
2023-05-18 20:42:30 -07:00
committed by Frédéric Guillot
parent e7fcf07c92
commit e08335e0b1
7 changed files with 9 additions and 9 deletions

View File

@@ -127,7 +127,7 @@ class Thumbnail
imagealphablending($this->dstImage, false);
imagesavealpha($this->dstImage, true);
imagecopyresampled($this->dstImage, $this->srcImage, $dstX, $dstY, 0, 0, $dstWidth, $dstHeight, $srcWidth, $srcHeight);
imagecopyresampled($this->dstImage, $this->srcImage, (int) $dstX, (int) $dstY, 0, 0, (int) $dstWidth, (int) $dstHeight, (int) $srcWidth, (int) $srcHeight);
return $this;
}