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 4588e73 commit f76875aCopy full SHA for f76875a
src/Dependency/NodeDependencies.php
@@ -2,14 +2,10 @@
2
3
namespace PHPStan\Dependency;
4
5
-use IteratorAggregate;
6
use PHPStan\File\FileHelper;
7
use PHPStan\Reflection\ReflectionWithFilename;
8
9
-/**
10
- * @implements \IteratorAggregate<int, ReflectionWithFilename>
11
- */
12
-class NodeDependencies implements IteratorAggregate
+class NodeDependencies
13
{
14
15
private FileHelper $fileHelper;
@@ -34,11 +30,6 @@ public function __construct(
34
30
$this->exportedNode = $exportedNode;
35
31
}
36
32
37
- public function getIterator(): \Traversable
38
- {
39
- return new \ArrayIterator($this->reflections);
40
- }
41
-
42
33
/**
43
* @param string $currentFile
44
* @param array<string, true> $analysedFiles
0 commit comments