1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-01 03:20:17 +02:00

Fix deprecation warning

This commit is contained in:
Oliver Vogel
2023-09-29 16:25:33 +02:00
parent af9fea016a
commit b8f753b33f

View File

@@ -106,7 +106,7 @@ class Polygon implements IteratorAggregate, Countable, ArrayAccess, DrawableInte
* @param mixed $offset * @param mixed $offset
* @return Point * @return Point
*/ */
public function offsetGet($offset) public function offsetGet($offset): mixed
{ {
return $this->points[$offset]; return $this->points[$offset];
} }