Closed nineff closed 2 years ago
Iterator Aggregate requires the getIterator() method to return Traversable, not iterable. See https://www.php.net/manual/en/class.iteratoraggregate.php This fixes PHP 8.1 deprecation notices.
Well spotted, @nineff. Thanks for the fix!
Iterator Aggregate requires the getIterator() method to return Traversable, not iterable. See https://www.php.net/manual/en/class.iteratoraggregate.php This fixes PHP 8.1 deprecation notices.