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:
@@ -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];
|
||||
}
|
||||
|
Reference in New Issue
Block a user