Skip to content

Commit f65c74e

Browse files
author
Martin Venuš
committed
Fix missing return type for getIterator method in PHP 8.1
1 parent 03bd547 commit f65c74e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Collection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public static function range($start = 0, $end = null, $step = 1)
9595
* {@inheritdoc}
9696
* @throws InvalidReturnValue
9797
*/
98+
#[\ReturnTypeWillChange]
9899
public function getIterator()
99100
{
100101
if ($this->inputFactory) {

0 commit comments

Comments
 (0)