Skip to content

Commit fb1f30c

Browse files
authored
Update Command.php
1 parent 1993196 commit fb1f30c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Console/Command/Command.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Command
3434
private $processTitle;
3535
private $aliases = array();
3636
private $definition;
37-
private $hidden;
37+
private $hidden = false;
3838
private $help;
3939
private $description;
4040
private $ignoreValidationErrors = false;
@@ -454,9 +454,9 @@ public function getName()
454454
*
455455
* @return Command The current instance
456456
*/
457-
public function setHidden($hiddenBool)
457+
public function setHidden($hidden)
458458
{
459-
$this->hidden = $hiddenBool;
459+
$this->hidden = $hidden;
460460

461461
return $this;
462462
}

0 commit comments

Comments
 (0)