File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,7 @@ public function isClosed()
6666 return !$ this ->open ;
6767 }
6868
69- /**
70- * @return \Traversable
71- */
72- #[\ReturnTypeWillChange]
73- public function getIterator ()
69+ public function getIterator (): \Traversable
7470 {
7571 $ this ->open = true ;
7672
Original file line number Diff line number Diff line change @@ -613,11 +613,8 @@ public function getIncrementalOutput()
613613 *
614614 * @throws LogicException in case the output has been disabled
615615 * @throws LogicException In case the process is not started
616- *
617- * @return \Generator
618616 */
619- #[\ReturnTypeWillChange]
620- public function getIterator (int $ flags = 0 )
617+ public function getIterator (int $ flags = 0 ): \Generator
621618 {
622619 $ this ->readPipesForOutput (__FUNCTION__ , false );
623620
You can’t perform that action at this time.
0 commit comments