We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a80d8b0 commit 4698ecbCopy full SHA for 4698ecb
src/Structures/Mergeable.php
@@ -5,6 +5,7 @@
5
use ArrayIterator;
6
use Countable;
7
use IteratorAggregate;
8
+use Traversable;
9
10
class Mergeable implements Countable, IteratorAggregate
11
{
@@ -83,7 +84,7 @@ public function count(): int
83
84
*
85
* @return ArrayIterator
86
*/
- public function getIterator()
87
+ public function getIterator(): Traversable
88
89
return new ArrayIterator($this); // @phpstan-ignore-line
90
}
0 commit comments