1
0
Fork 0
pull/333/merge
Sensirex 2017-04-24 11:32:58 +00:00 committed by GitHub
commit b93d05b8fe
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ class DefinitionResolver
}
$fqn = (string)($expr->getAttribute('namespacedName') ?? $expr->name) . '()';
$def = $this->index->getDefinition($fqn, true);
if ($def !== null) {
if ($def !== null && $def->type!= null) {
return $def->type;
}
}