diff options
Diffstat (limited to 'lib/public/IImage.php')
-rw-r--r-- | lib/public/IImage.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/IImage.php b/lib/public/IImage.php index 70e8b3cff75..4311f44f1bc 100644 --- a/lib/public/IImage.php +++ b/lib/public/IImage.php @@ -147,7 +147,7 @@ interface IImage { * @return bool * @since 8.1.0 */ - public function preciseResize($width, $height); + public function preciseResize(int $width, int $height): bool; /** * Crops the image to the middle square. If the image is already square it just returns. @@ -168,7 +168,7 @@ interface IImage { * @return bool for success or failure * @since 8.1.0 */ - public function crop($x, $y, $w, $h); + public function crop(int $x, int $y, int $w, int $h): bool; /** * Resizes the image to fit within a boundary while preserving ratio. |