Skip to content

Commit 92ac44c

Browse files
author
Greg Bowler
committed
ci: quick fix for stream uri
1 parent 674c264 commit 92ac44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct(
3939

4040
$streamInfo = stream_get_meta_data($this->stream);
4141
$this->isSeekable = $streamInfo["seekable"];
42-
$this->uri = $streamInfo["uri"];
42+
$this->uri = $streamInfo["uri"] ?? "";
4343
$this->isReadable = in_array($streamInfo["mode"], self::READABLE_MODES);
4444
$this->isWritable = in_array($streamInfo["mode"], self::WRITABLE_MODES);
4545
}

0 commit comments

Comments
 (0)