Skip to content

Commit

Permalink
Fixed readme EofCallbackStream example (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
reedy committed Dec 27, 2022
1 parent 67c26b4 commit ddb46ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ class EofCallbackStream implements StreamInterface

private $callback;

private $stream;

public function __construct(StreamInterface $stream, callable $cb)
{
$this->stream = $stream;
Expand Down

0 comments on commit ddb46ae

Please sign in to comment.