Skip to content

Commit

Permalink
Merge pull request #198 from joelharkes/patch-1
Browse files Browse the repository at this point in the history
Fix PHP 8.1 return type deprecation notices
  • Loading branch information
zbateson committed Sep 28, 2022
2 parents 318cd80 + 590885e commit 295c7f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Stream/HeaderStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ public function __destruct()
}
}

/**
* @return void
*/
#[\ReturnTypeWillChange]
public function update(SplSubject $subject)
{
if ($this->stream !== null) {
Expand Down

0 comments on commit 295c7f8

Please sign in to comment.