We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b975b8b commit f1d64d3Copy full SHA for f1d64d3
Output/Output.php
@@ -46,7 +46,7 @@ abstract class Output implements OutputInterface
46
public function __construct($verbosity = self::VERBOSITY_NORMAL, $decorated = false, OutputFormatterInterface $formatter = null)
47
{
48
$this->verbosity = null === $verbosity ? self::VERBOSITY_NORMAL : $verbosity;
49
- $this->formatter = null === $formatter ? new OutputFormatter() : $formatter;
+ $this->formatter = $formatter ?: new OutputFormatter();
50
$this->formatter->setDecorated($decorated);
51
}
52
0 commit comments