Skip to content

Commit 7d23151

Browse files
committed
typo [Closes #207]
1 parent 6339ca2 commit 7d23151

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Utils/Image.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ public function getImageResource()
267267

268268
/**
269269
* Resizes image.
270-
* @param int|string $width in pixels or percent
271-
* @param int|string $height in pixels or percent
270+
* @param int|string|null $width in pixels or percent
271+
* @param int|string|null $height in pixels or percent
272272
* @return static
273273
*/
274274
public function resize($width, $height, int $flags = self::FIT)
@@ -298,8 +298,8 @@ public function resize($width, $height, int $flags = self::FIT)
298298

299299
/**
300300
* Calculates dimensions of resized image.
301-
* @param int|string $newWidth in pixels or percent
302-
* @param int|string $newHeight in pixels or percent
301+
* @param int|string|null $newWidth in pixels or percent
302+
* @param int|string|null $newHeight in pixels or percent
303303
*/
304304
public static function calculateSize(int $srcWidth, int $srcHeight, $newWidth, $newHeight, int $flags = self::FIT): array
305305
{

0 commit comments

Comments
 (0)