From b8f753b33f4b3601a4a7088a92b99bf9e81f427f Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Fri, 29 Sep 2023 16:25:33 +0200 Subject: [PATCH] Fix deprecation warning --- src/Geometry/Polygon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Geometry/Polygon.php b/src/Geometry/Polygon.php index e7bee7bc5..244dd7ce4 100644 --- a/src/Geometry/Polygon.php +++ b/src/Geometry/Polygon.php @@ -106,7 +106,7 @@ public function offsetExists($offset): bool * @param mixed $offset * @return Point */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return $this->points[$offset]; }