Skip to content

Commit 4857abb

Browse files
[4.x] Use $streamName property in stream() method to configure stream resource
1 parent e6b42c5 commit 4857abb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/View/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ protected function write(string $line): void
2828
*/
2929
protected function stream()
3030
{
31-
return static::$stream ??= fopen('php://stderr', 'wb');
31+
return static::$stream ??= fopen($this->streamName, 'wb');
3232
}
3333
}

0 commit comments

Comments
 (0)