From c196e6953a3088dc14603fb730c834c17e92545d Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Mon, 16 Dec 2024 11:38:11 +0100 Subject: [PATCH] Added `Directory->getIterator()` return type --- src/Node/Directory.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Node/Directory.php b/src/Node/Directory.php index 8b753cc1..2802f93a 100644 --- a/src/Node/Directory.php +++ b/src/Node/Directory.php @@ -86,6 +86,9 @@ public function count(): int return $this->numFiles; } + /** + * @return RecursiveIteratorIterator> + */ public function getIterator(): RecursiveIteratorIterator { return new RecursiveIteratorIterator(