We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f952902 commit 3d14696Copy full SHA for 3d14696
src/Parser/NodeVisitor.php
@@ -260,7 +260,7 @@ protected function addProperty(PropertyNode $node)
260
$property->setErrors($errors);
261
} else {
262
if ($tag = $comment->getTag('var')) {
263
- $property->setHint($this->resolveHint($tag[0][0]));
+ $property->setHint(is_array($tag[0][0]) ? $this->resolveHint($tag[0][0]) : $tag[0][0]);
264
$property->setHintDesc($tag[0][1]);
265
}
266
0 commit comments