Skip to content

Commit

Permalink
fix: var type error on render help
Browse files Browse the repository at this point in the history
Signed-off-by: inhere <in.798@qq.com>
  • Loading branch information
inhere committed Jul 24, 2021
1 parent 68001ef commit 1bd802b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ protected function showHelpByMethodAnnotations(string $method, string $action =

$help = [];
$doc = $ref->getMethod($method)->getDocComment();
$tags = PhpDoc::getTags($this->parseCommentsVars($doc));
$tags = PhpDoc::getTags($this->parseCommentsVars((string)$doc));

if ($aliases) {
$realName = $action ?: static::getName();
Expand Down

0 comments on commit 1bd802b

Please sign in to comment.