Skip to content

Commit

Permalink
merged branch h4ck3rm1k3/hasColorSupportFix (PR #5624)
Browse files Browse the repository at this point in the history
This PR was submitted on branch master but was merged on branch 2.0 instead (closes #5624).

Commits
-------

05eaebf hasColorSupport does not take an argument

Discussion
----------

hasColorSupport does not take an argument

removed the uneeded argument. trivial patch.
  • Loading branch information
fabpot committed Sep 28, 2012
2 parents 91699d8 + ad95364 commit be00e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Console/Output/StreamOutput.php
Expand Up @@ -54,7 +54,7 @@ public function __construct($stream, $verbosity = self::VERBOSITY_NORMAL, $decor
$this->stream = $stream;

if (null === $decorated) {
$decorated = $this->hasColorSupport($decorated);
$decorated = $this->hasColorSupport();
}

parent::__construct($verbosity, $decorated, $formatter);
Expand Down

0 comments on commit be00e32

Please sign in to comment.