1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 20:28:21 +01: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
* @return Point
*/
public function offsetGet($offset)
public function offsetGet($offset): mixed
{
return $this->points[$offset];
}