mirror of
https://github.com/kvazar-network/webapp.git
synced 2025-03-12 05:31:09 +00:00
remove deprecated paramethers
This commit is contained in:
parent
b69634ee30
commit
a8bd6c5e5a
@ -165,7 +165,7 @@ final class Icon {
|
||||
|
||||
for ($i = 0; $i < count($shape); $i++)
|
||||
$shape[$i] = $shape[$i] * $this->_spriteZ;
|
||||
imagefilledpolygon($sprite, $shape, count($shape) / 2, $fg);
|
||||
imagefilledpolygon($sprite, $shape, $fg);
|
||||
|
||||
for ($i = 0; $i < $rotation; $i++)
|
||||
$sprite = imagerotate($sprite, 90, $bg);
|
||||
@ -215,7 +215,7 @@ final class Icon {
|
||||
for ($i = 0; $i < count($shape); $i++)
|
||||
$shape[$i] = $shape[$i] * $this->_spriteZ;
|
||||
if (count($shape) > 0)
|
||||
imagefilledpolygon($sprite, $shape, count($shape) / 2, $fg);
|
||||
imagefilledpolygon($sprite, $shape, $fg);
|
||||
|
||||
return $sprite;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user