Skip to content

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Sep 29, 2023
1 parent af9fea0 commit b8f753b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Geometry/Polygon.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down

0 comments on commit b8f753b

Please sign in to comment.