diff --git a/src/Image/Image.php b/src/Image/Image.php index 2fb3717..b0f8854 100644 --- a/src/Image/Image.php +++ b/src/Image/Image.php @@ -54,7 +54,7 @@ public function __construct($data) * * @throws \Throwable */ - public function crop(int $width, int $height, int $gravity = Image::GRAVITY_CENTER) + public function crop(int $width, int $height, string $gravity = Image::GRAVITY_CENTER) { $originalAspect = $this->width / $this->height;