Skip to content

Commit

Permalink
Another bunch of static methods
Browse files Browse the repository at this point in the history
  • Loading branch information
duboism committed Oct 2, 2024
1 parent 4e05aff commit fb8a227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Image/Color.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit fb8a227

Please sign in to comment.