Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix doc block and improve readability
  • Loading branch information
Michael Hoffmann committed Apr 17, 2017
1 parent ce8bc83 commit be1d0fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/ConsoleOutput.php
Expand Up @@ -319,11 +319,11 @@ public function getOutputAs()
*
* @param int $type The output type to use. Should be one of the class constants.
* @return void
* @throws InvalidArgumentException in case of a not supported output type.
* @throws \InvalidArgumentException in case of a not supported output type.
*/
public function setOutputAs($type)
{
if (in_array($type, [self::RAW, self::PLAIN, self::COLOR], true) === false) {
if (!in_array($type, [self::RAW, self::PLAIN, self::COLOR], true)) {
throw new InvalidArgumentException(sprintf('Invalid output type "%s".', $type));
}

Expand Down

0 comments on commit be1d0fb

Please sign in to comment.