mirror of
https://github.com/Intervention/image.git
synced 2025-08-30 09:10:21 +02:00
PHP 8.1 deprecation fix
This commit is contained in:
@@ -31,9 +31,9 @@ class Collection implements CollectionInterface, IteratorAggregate, Countable
|
|||||||
/**
|
/**
|
||||||
* Returns Iterator
|
* Returns Iterator
|
||||||
*
|
*
|
||||||
* @return array
|
* @return \Traversable
|
||||||
*/
|
*/
|
||||||
public function getIterator()
|
public function getIterator(): \Traversable
|
||||||
{
|
{
|
||||||
return new ArrayIterator($this->items);
|
return new ArrayIterator($this->items);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user