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:
parent
af9fea016a
commit
b8f753b33f
@ -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];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user