Skip to content

Commit

Permalink
Fix return statements
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Aug 13, 2019
1 parent 231bd81 commit c3e573f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ public function add(Command $command)
if (!$command->isEnabled()) {
$command->setApplication(null);

return;
return null;
}

if (null === $command->getDefinition()) {
Expand Down

0 comments on commit c3e573f

Please sign in to comment.