We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 674c264 commit 92ac44cCopy full SHA for 92ac44c
src/Stream.php
@@ -39,7 +39,7 @@ public function __construct(
39
40
$streamInfo = stream_get_meta_data($this->stream);
41
$this->isSeekable = $streamInfo["seekable"];
42
- $this->uri = $streamInfo["uri"];
+ $this->uri = $streamInfo["uri"] ?? "";
43
$this->isReadable = in_array($streamInfo["mode"], self::READABLE_MODES);
44
$this->isWritable = in_array($streamInfo["mode"], self::WRITABLE_MODES);
45
}
0 commit comments