From 776fecdb5078cefcd8d52c8ea67f22f045d0c80b Mon Sep 17 00:00:00 2001 From: Dave Long Date: Mon, 4 Mar 2024 16:56:35 +0000 Subject: [PATCH] Issue #3425337 by mondrake: Fix root namespace classes DebugClassLoader forward compatibility warnings --- Operations/ScaffoldFileCollection.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Operations/ScaffoldFileCollection.php b/Operations/ScaffoldFileCollection.php index a1bacf597d..c6e89ef4c7 100644 --- a/Operations/ScaffoldFileCollection.php +++ b/Operations/ScaffoldFileCollection.php @@ -115,8 +115,7 @@ protected function checkListHasItemWithContent(array $scaffold_files) { /** * {@inheritdoc} */ - #[\ReturnTypeWillChange] - public function getIterator() { + public function getIterator(): \ArrayIterator { return new \ArrayIterator($this->scaffoldFilesByProject); }