From fb8a227fa72ce02d37f2e0673fc2c09eeddba1cd Mon Sep 17 00:00:00 2001 From: Mathieu Dubois Date: Wed, 2 Oct 2024 04:59:06 +0200 Subject: [PATCH] Another bunch of static methods --- Image/Color.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Image/Color.php b/Image/Color.php index 4f1ba3e..fce329b 100644 --- a/Image/Color.php +++ b/Image/Color.php @@ -470,7 +470,7 @@ static function hsv2hex($h, $s, $v) * @uses ImageColorAllocate() to allocate the color. * @uses color2RGB() to parse the color into RGB values. */ - function allocateColor(&$img, $color) { + static function allocateColor(&$img, $color) { $color = Image_Color::color2RGB($color); return ImageColorAllocate($img, $color[0], $color[1], $color[2]);