File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Symfony/Component/Console/Output Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,16 +36,16 @@ abstract class Output implements OutputInterface
36
36
* Constructor.
37
37
*
38
38
* @param integer $verbosity The verbosity level (self::VERBOSITY_QUIET, self::VERBOSITY_NORMAL, self::VERBOSITY_VERBOSE)
39
- * @param Boolean $decorated Whether to decorate messages or not (null for auto-guessing)
39
+ * @param Boolean $decorated Whether to decorate messages or not
40
40
* @param OutputFormatterInterface $formatter Output formatter instance
41
41
*
42
42
* @api
43
43
*/
44
- public function __construct ($ verbosity = self ::VERBOSITY_NORMAL , $ decorated = null , OutputFormatterInterface $ formatter = null )
44
+ public function __construct ($ verbosity = self ::VERBOSITY_NORMAL , $ decorated = false , OutputFormatterInterface $ formatter = null )
45
45
{
46
46
$ this ->verbosity = null === $ verbosity ? self ::VERBOSITY_NORMAL : $ verbosity ;
47
47
$ this ->formatter = null === $ formatter ? new OutputFormatter () : $ formatter ;
48
- $ this ->formatter ->setDecorated (( Boolean ) $ decorated );
48
+ $ this ->formatter ->setDecorated ($ decorated );
49
49
}
50
50
51
51
/**
@@ -81,7 +81,7 @@ public function getFormatter()
81
81
*/
82
82
public function setDecorated ($ decorated )
83
83
{
84
- $ this ->formatter ->setDecorated (( Boolean ) $ decorated );
84
+ $ this ->formatter ->setDecorated ($ decorated );
85
85
}
86
86
87
87
/**
You can’t perform that action at this time.
0 commit comments