diff --git a/src/DefinitionResolver.php b/src/DefinitionResolver.php index d5849a0..d1f756e 100644 --- a/src/DefinitionResolver.php +++ b/src/DefinitionResolver.php @@ -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; }