Skip to content

Commit

Permalink
Update Output.php
Browse files Browse the repository at this point in the history
  • Loading branch information
freost committed Nov 2, 2024
1 parent 15ec057 commit 5c9c030
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mako/cli/output/Output.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

use mako\cli\Environment;
use mako\cli\output\formatter\FormatterInterface;
use mako\cli\output\writer\Error;
use mako\cli\output\writer\Standard;
use mako\cli\output\writer\WriterInterface;

use function var_export;
Expand Down Expand Up @@ -37,8 +39,8 @@ class Output
* Constructor.
*/
public function __construct(
protected WriterInterface $standard,
protected WriterInterface $error,
protected WriterInterface $standard = new Standard,
protected WriterInterface $error = new Error,
protected Environment $environment = new Environment,
protected ?Cursor $cursor = null,
protected ?FormatterInterface $formatter = null,
Expand Down

0 comments on commit 5c9c030

Please sign in to comment.