Skip to content

Commit 26416cc

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Fix return types for PHP 8.1
2 parents b756a61 + 38f26c7 commit 26416cc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

InputStream.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public function isClosed()
6969
/**
7070
* @return \Traversable
7171
*/
72+
#[\ReturnTypeWillChange]
7273
public function getIterator()
7374
{
7475
$this->open = true;

Process.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,7 @@ public function getIncrementalOutput()
620620
*
621621
* @return \Generator
622622
*/
623+
#[\ReturnTypeWillChange]
623624
public function getIterator(int $flags = 0)
624625
{
625626
$this->readPipesForOutput(__FUNCTION__, false);

0 commit comments

Comments
 (0)