Skip to content

Commit 295c7f8

Browse files
authored
Merge pull request #198 from joelharkes/patch-1
Fix PHP 8.1 return type deprecation notices
2 parents 318cd80 + 590885e commit 295c7f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Stream/HeaderStream.php

+4
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ public function __destruct()
4848
}
4949
}
5050

51+
/**
52+
* @return void
53+
*/
54+
#[\ReturnTypeWillChange]
5155
public function update(SplSubject $subject)
5256
{
5357
if ($this->stream !== null) {

0 commit comments

Comments
 (0)