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 69a32da commit bf75810Copy full SHA for bf75810
src/Result.php
@@ -5,6 +5,7 @@
5
use IteratorAggregate;
6
use PhpParser\PrettyPrinter\Standard;
7
use PhpParser\PrettyPrinterAbstract;
8
+use Traversable;
9
10
/**
11
* Contains the results of stub generation, including the stubs themselves as
@@ -33,7 +34,7 @@ public function __construct(NodeVisitor $visitor, array $unparsed)
33
34
$this->unparsed = $unparsed;
35
}
36
- public function getIterator()
37
+ public function getIterator(): Traversable
38
{
39
return new ArrayIterator($this->getStubStmts());
40
0 commit comments