diff --git a/src/Node/Directory.php b/src/Node/Directory.php index 1aad35b..64b548e 100644 --- a/src/Node/Directory.php +++ b/src/Node/Directory.php @@ -109,7 +109,7 @@ class Directory implements NodeContainerInterface $this->dateModified = $dateTime; } - public function getIterator() + public function getIterator(): \Traversable { return new ArrayIterator($this->nodes); }