diff --git a/src/Parser/CommandInfo.php b/src/Parser/CommandInfo.php index 8042bd9..60a700a 100644 --- a/src/Parser/CommandInfo.php +++ b/src/Parser/CommandInfo.php @@ -183,9 +183,7 @@ public function getMethodName() */ public function getName() { - if (empty($this->name)) { - $this->parseDocBlock(); - } + $this->parseDocBlock(); return $this->name; }