Skip to content

Commit d5052fc

Browse files
committed
Remove ReturnTypeWillChange
Signed-off-by: Alexander M. Turek <me@derrabus.de>
1 parent e96c4f6 commit d5052fc

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

InputStream.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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

Process.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)