Skip to content

Commit 226e61b

Browse files
Merge pull request #72
[4.x] Use `$streamName` property in `stream()` method to configure stream resource
2 parents 5576e6a + 4857abb commit 226e61b

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)