Skip to content

Commit c605220

Browse files
committed
fix: inner method dipplay on help.
1 parent a86db07 commit c605220

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Handler/AbstractHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ protected function doRun(array $args)
331331
$first = $args[0];
332332
$rName = $this->resolveAlias($first);
333333

334-
if ($this->isSubCommand($rName)) {
334+
if ($this->isSub($rName)) {
335335
// TODO
336336
}
337337
}
@@ -459,7 +459,7 @@ public function isAlone(): bool
459459
/**
460460
* @return bool
461461
*/
462-
public function isCommand(): bool
462+
public function isAloneCmd(): bool
463463
{
464464
return $this instanceof CommandInterface;
465465
}

0 commit comments

Comments
 (0)