diff --git a/src/Drivers/Gd/Modifiers/DrawBezierModifier.php b/src/Drivers/Gd/Modifiers/DrawBezierModifier.php index e853a2f7..802e2fa5 100644 --- a/src/Drivers/Gd/Modifiers/DrawBezierModifier.php +++ b/src/Drivers/Gd/Modifiers/DrawBezierModifier.php @@ -85,7 +85,7 @@ class DrawBezierModifier extends ModifiersDrawBezierModifier implements Speciali * @param float $t * @return array{'x': float, 'y': float} */ - public function calculateQuadraticBezierInterpolationPoint(float $t = 0.05): array + private function calculateQuadraticBezierInterpolationPoint(float $t = 0.05): array { $remainder = 1 - $t; $control_point_1_multiplier = $remainder * $remainder; @@ -112,7 +112,7 @@ class DrawBezierModifier extends ModifiersDrawBezierModifier implements Speciali * @param float $t * @return array{'x': float, 'y': float} */ - public function calculateCubicBezierInterpolationPoint(float $t = 0.05): array + private function calculateCubicBezierInterpolationPoint(float $t = 0.05): array { $remainder = 1 - $t; $t_squared = $t * $t; @@ -144,7 +144,7 @@ class DrawBezierModifier extends ModifiersDrawBezierModifier implements Speciali * @throws GeometryException * @return array{0: array, 1: array} */ - public function calculateBezierPoints(): array + private function calculateBezierPoints(): array { if ($this->drawable->count() !== 3 && $this->drawable->count() !== 4) { throw new GeometryException('You must specify either 3 or 4 points to create a bezier curve'); diff --git a/src/Interfaces/ImageInterface.php b/src/Interfaces/ImageInterface.php index 0ecf2d3d..be0312cd 100644 --- a/src/Interfaces/ImageInterface.php +++ b/src/Interfaces/ImageInterface.php @@ -752,7 +752,7 @@ interface ImageInterface extends IteratorAggregate, Countable /** * Draw a bezier curve on the current image * - * @link + * @link https://image.intervention.io/v3/modifying/drawing#draw-bezier-curves * @param callable $init * @throws RuntimeException * @return ImageInterface