MWCallbackStream: Add explicit $stream property

Bug: T324895
Change-Id: Ic347beb30b50fe76f02855700f770195a5eabf8a
This commit is contained in:
Reedy 2022-12-27 17:03:25 +00:00
parent aacfae1fc4
commit eaf25da2d3

View file

@ -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;