Skip to content

Commit

Permalink
Fix PHPCS errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 28, 2017
1 parent fc1864e commit b51d3c9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Shell/HelpShell.php
Expand Up @@ -25,6 +25,11 @@
*/
class HelpShell extends Shell
{
/**
* The command collection to get help on.
*
* @var \Cake\Console\CommandCollection
*/
protected $commands;

/**
Expand Down Expand Up @@ -69,12 +74,12 @@ public function main()

if (!$this->commands) {
$this->err('Could not print command list, no CommandCollection was set using setCommandCollection()');

return;
}

if ($this->param('xml')) {
$this->asXml($this->commands);
return;
return $this->asXml($this->commands);
}
$this->asText($this->commands);
}
Expand Down

0 comments on commit b51d3c9

Please sign in to comment.