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