1
0
Fork 0

Fix lint issue

pull/155/head
Felix Becker 2016-11-17 23:01:38 +01:00
parent ba47584910
commit 137ad31b87
1 changed files with 2 additions and 1 deletions

View File

@ -295,8 +295,9 @@ class DefinitionResolver
$fqn = (string)$objType->getFqsen() . '::' . $expr->name; $fqn = (string)$objType->getFqsen() . '::' . $expr->name;
$def = $this->project->getDefinition($fqn); $def = $this->project->getDefinition($fqn);
if ($def !== null) { if ($def !== null) {
return $def->type; } return $def->type;
} }
}
if ($expr instanceof Node\Expr\StaticCall) { if ($expr instanceof Node\Expr\StaticCall) {
if ($expr->class instanceof Node\Expr || $expr->name instanceof Node\Expr) { if ($expr->class instanceof Node\Expr || $expr->name instanceof Node\Expr) {
// Need the FQN // Need the FQN