1
0
Fork 0

Fix wrong function call in DefinitionResolver

pull/189/merge v4.1.1
Felix Becker 2016-12-24 16:35:20 +01:00
parent de0dd32a67
commit 662143abad
1 changed files with 2 additions and 2 deletions

View File

@ -579,8 +579,8 @@ class DefinitionResolver
|| $expr instanceof Node\Expr\AssignOp\Mul
) {
if (
resolveType($expr->left) instanceof Types\Integer_
&& resolveType($expr->right) instanceof Types\Integer_
$this->resolveExpressionNodeToType($expr->left) instanceof Types\Integer_
&& $this->resolveExpressionNodeToType($expr->right) instanceof Types\Integer_
) {
return new Types\Integer;
}