1
0
mirror of https://github.com/Intervention/image.git synced 2025-09-02 18:32:56 +02:00

Add missing paramter in ImageInterface

This commit is contained in:
Oliver Vogel
2023-12-16 15:21:10 +01:00
parent 68f2bb19ce
commit 3de73efee5

View File

@@ -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