Skip to content

Commit 61615ed

Browse files
MacFJAtheseer
authored andcommitted
Fix missing variable (side-effect of a merge)
1 parent bc5222a commit 61615ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docblock/elements/VarElement.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function typeResolver(\TheSeer\fDOM\fDOMElement $node, string $type) {
6060
$nodeType->setAttribute('full', $type);
6161
$nodeType->setAttribute('array', $isArray?'true':'false');
6262

63-
if (\in_array($type, $this->types, true)) {
63+
if ($this->isBuiltInType($type, self::TYPE_PHPDOC|self::TYPE_PHPDOX)) {
6464
$nodeType->setAttribute('name', $type);
6565
$nodeType->setAttribute('namespace', '');
6666
return;

0 commit comments

Comments
 (0)