@@ -34,9 +34,9 @@ public function resize(BaseResizeAction $resize): static
3434 * Change the size of the image exactly to the given width and height without necessarily retaining the original
3535 * aspect ratio: all original image parts are visible but might be stretched or shrunk.
3636 *
37- * @param int|float|string|null $width The required width of a transformed asset.
38- * @param int|float|null $height The required height of a transformed asset.
39- * @param int|float|array $aspectRatio Resizes the asset to a new aspect ratio.
37+ * @param mixed $width The required width of a transformed asset.
38+ * @param mixed $height The required height of a transformed asset.
39+ * @param mixed $aspectRatio Resizes the asset to a new aspect ratio.
4040 *
4141 */
4242 public function scale ($ width = null , $ height = null , $ aspectRatio = null ): static
@@ -47,11 +47,11 @@ public function scale($width = null, $height = null, $aspectRatio = null): stati
4747 /**
4848 * Extracts a region of the given width and height out of the original image.
4949 *
50- * @param int|float|string|null $width The required width of a transformed asset.
51- * @param int|float|null $height The required height of a transformed asset.
52- * @param Gravity $gravity Which part of the original image to include.
53- * @param int|float|X $x Horizontal position for custom-coordinates based cropping
54- * @param int|float|Y $y Vertical position for custom-coordinates based cropping
50+ * @param mixed $width The required width of a transformed asset.
51+ * @param mixed $height The required height of a transformed asset.
52+ * @param GravityQualifier|string $gravity Which part of the original image to include.
53+ * @param int|float|string|X $x Horizontal position for custom-coordinates based cropping
54+ * @param int|float|string|Y $y Vertical position for custom-coordinates based cropping
5555 *
5656 */
5757 public function crop ($ width = null , $ height = null , $ gravity = null , $ x = null , $ y = null ): static
@@ -66,10 +66,10 @@ public function crop($width = null, $height = null, $gravity = null, $x = null,
6666 * requested aspect ratio is different than the original, cropping will occur on the dimension that exceeds the
6767 * requested size after scaling.
6868 *
69- * @param int|float|string|null $width The required width of a transformed asset.
70- * @param int|float|null $height The required height of a transformed asset.
71- * @param Gravity $gravity Which part of the original image to include when the resulting image is
72- * smaller than the original or the proportions do not match.
69+ * @param mixed $width The required width of a transformed asset.
70+ * @param mixed $height The required height of a transformed asset.
71+ * @param GravityQualifier|string $gravity Which part of the original image to include when the resulting image is
72+ * smaller than the original or the proportions do not match.
7373 *
7474 */
7575 public function fill ($ width = null , $ height = null , $ gravity = null ): static
@@ -80,9 +80,9 @@ public function fill($width = null, $height = null, $gravity = null): static
8080 /**
8181 * Custom resize builder.
8282 *
83- * @param string $name Provide future (not supported in the current version) resize name
84- * @param int|float|string|null $width The required width of a transformed asset.
85- * @param int|float|null $height The required height of a transformed asset.
83+ * @param string $name Provide future (not supported in the current version) resize name
84+ * @param mixed $width The required width of a transformed asset.
85+ * @param mixed $height The required height of a transformed asset.
8686 *
8787 */
8888 public function genericResize ($ name , $ width = null , $ height = null ): static
0 commit comments