Skip to content

Commit

Permalink
fix: inner method dipplay on help.
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Sep 24, 2021
1 parent a86db07 commit c605220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Handler/AbstractHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ protected function doRun(array $args)
$first = $args[0];
$rName = $this->resolveAlias($first);

if ($this->isSubCommand($rName)) {
if ($this->isSub($rName)) {
// TODO
}
}
Expand Down Expand Up @@ -459,7 +459,7 @@ public function isAlone(): bool
/**
* @return bool
*/
public function isCommand(): bool
public function isAloneCmd(): bool
{
return $this instanceof CommandInterface;
}
Expand Down

0 comments on commit c605220

Please sign in to comment.