@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | * Resizes the image maintaining the proportion (A 800x600 image resized to 400x400 becomes to 400x300). |
213 | 213 | * |
214 | 214 | * @param int|string $width The max width of the image. It can be a number (pixels) or percentaje |
215 | - * @param int|string $height The max height of the image. It can be a number (pixels) or percentaje |
|
215 | + * @param integer $height The max height of the image. It can be a number (pixels) or percentaje |
|
216 | 216 | */ |
217 | 217 | public function resize($width, $height = 0, bool $cover = false): self |
218 | 218 | { |
@@ -495,6 +495,7 @@ discard block |
||
495 | 495 | * Copied from: https://github.com/Sybio/GifFrameExtractor/blob/master/src/GifFrameExtractor/GifFrameExtractor.php#L181. |
496 | 496 | * |
497 | 497 | * @param resource A stream pointer opened by fopen() |
498 | + * @param resource $stream |
|
498 | 499 | */ |
499 | 500 | private static function isAnimatedGif($stream): bool |
500 | 501 | { |