From 3de73efee5b1f96355f4d3ff4103411527a7cfb6 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Sat, 16 Dec 2023 15:21:10 +0100 Subject: [PATCH] Add missing paramter in ImageInterface --- src/Interfaces/ImageInterface.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Interfaces/ImageInterface.php b/src/Interfaces/ImageInterface.php index 8d9475cd..e32babbc 100644 --- a/src/Interfaces/ImageInterface.php +++ b/src/Interfaces/ImageInterface.php @@ -202,9 +202,10 @@ interface ImageInterface extends IteratorAggregate, Countable * Apply color quantization to the current image * * @param int $limit + * @param mixed $background * @return ImageInterface */ - public function reduceColors(int $limit): ImageInterface; + public function reduceColors(int $limit, mixed $background = 'transparent'): ImageInterface; /** * Sharpen the current image with given strength