Cleanup
This commit is contained in:
parent
8c1be03e5d
commit
9988ed1a3d
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ class randomimage {
|
||||||
$color = imagecolorallocatealpha($im, ...$this->random_color_alpha());
|
$color = imagecolorallocatealpha($im, ...$this->random_color_alpha());
|
||||||
$numpoints = \random_int(3, $maxpts);
|
$numpoints = \random_int(3, $maxpts);
|
||||||
$pts = $this->random_pts($numpoints);
|
$pts = $this->random_pts($numpoints);
|
||||||
imagefilledpolygon($im, $pts, $color);
|
imagefilledpolygon($im, $pts, $numpoints, $color);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Reference in a new issue