Skip to content

Commit

Permalink
Fix PHP 8.1 return type deprecation notices
Browse files Browse the repository at this point in the history
Still missing in HeaderStream.
  • Loading branch information
joelharkes authored Sep 27, 2022
1 parent 318cd80 commit 590885e
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 590885e

Please sign in to comment.