Skip to content

Commit

Permalink
ci: quick fix for stream uri
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Oct 15, 2024
1 parent 674c264 commit 92ac44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function __construct(

$streamInfo = stream_get_meta_data($this->stream);
$this->isSeekable = $streamInfo["seekable"];
$this->uri = $streamInfo["uri"];
$this->uri = $streamInfo["uri"] ?? "";
$this->isReadable = in_array($streamInfo["mode"], self::READABLE_MODES);
$this->isWritable = in_array($streamInfo["mode"], self::WRITABLE_MODES);
}
Expand Down

0 comments on commit 92ac44c

Please sign in to comment.