Skip to content

Commit 13d3161

Browse files
committed
Fix return types for PHP 8.1
1 parent 0b7dc55 commit 13d3161

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
@@ -622,6 +622,7 @@ public function getIncrementalOutput()
622622
*
623623
* @return \Generator
624624
*/
625+
#[\ReturnTypeWillChange]
625626
public function getIterator($flags = 0)
626627
{
627628
$this->readPipesForOutput(__FUNCTION__, false);

0 commit comments

Comments
 (0)