Merge c79d3d2cdd
into 08cf1a3fd7
commit
b93d05b8fe
|
@ -448,7 +448,7 @@ class DefinitionResolver
|
||||||
}
|
}
|
||||||
$fqn = (string)($expr->getAttribute('namespacedName') ?? $expr->name) . '()';
|
$fqn = (string)($expr->getAttribute('namespacedName') ?? $expr->name) . '()';
|
||||||
$def = $this->index->getDefinition($fqn, true);
|
$def = $this->index->getDefinition($fqn, true);
|
||||||
if ($def !== null) {
|
if ($def !== null && $def->type!= null) {
|
||||||
return $def->type;
|
return $def->type;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue