MWCallbackStream: Add explicit $stream property
Bug: T324895 Change-Id: Ic347beb30b50fe76f02855700f770195a5eabf8a
This commit is contained in:
parent
aacfae1fc4
commit
eaf25da2d3
1 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,9 @@ class MWCallbackStream implements StreamInterface {
|
|||
|
||||
private $callback;
|
||||
|
||||
/** @var StreamInterface */
|
||||
protected $stream;
|
||||
|
||||
public function __construct( callable $cb ) {
|
||||
$this->stream = Utils::streamFor();
|
||||
$this->callback = $cb;
|
||||
|
|
|
|||
Loading…
Reference in a new issue