diff --git a/Math/Geometry/ConvexHull/MonotoneChain.php b/Math/Geometry/ConvexHull/MonotoneChain.php index 7b5639a57..5c4bf4746 100644 --- a/Math/Geometry/ConvexHull/MonotoneChain.php +++ b/Math/Geometry/ConvexHull/MonotoneChain.php @@ -46,9 +46,9 @@ final class MonotoneChain public static function createConvexHull(array $points) : array { if (($n = \count($points)) < 2) { - return $points; + return $points; } - + \uasort($points, [self::class, 'sort']); $k = 0;