1
0
mirror of https://github.com/Intervention/image.git synced 2025-07-31 11:00:12 +02:00

Fix type error

This commit is contained in:
Oliver Vogel
2023-10-06 16:20:50 +02:00
parent 55807ffed8
commit ea79f4b669

View File

@@ -26,8 +26,8 @@ class DrawEllipseModifier extends AbstractDrawModifier implements ModifierInterf
imagesetthickness($frame->getCore(), $this->ellipse()->getBorderSize());
// gd's imageellipse doesn't respect imagesetthickness so i use
// imagearc with 359.9 degrees here.
// gd's imageellipse ignores imagesetthickness so i use
// imagearc with 360 degrees instead.
imagearc(
$frame->getCore(),
$this->position->getX(),
@@ -35,7 +35,7 @@ class DrawEllipseModifier extends AbstractDrawModifier implements ModifierInterf
$this->ellipse()->getWidth(),
$this->ellipse()->getHeight(),
0,
359.99,
360,
$this->getBorderColor()->toInt()
);
} else {