Skip to content

Commit 38f26c7

Browse files
committed
Merge branch '4.4' into 5.3
* 4.4: Fix return types for PHP 8.1
2 parents d16634e + 13d3161 commit 38f26c7

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)