From b78e83c4c01bee21cbb4adb4e361cc3b7de459cc Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Tue, 1 Nov 2016 14:20:01 -0400 Subject: [PATCH] Break out method --- .../Checker/Statements/Expression/AssignmentChecker.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Psalm/Checker/Statements/Expression/AssignmentChecker.php b/src/Psalm/Checker/Statements/Expression/AssignmentChecker.php index 9db3a9d33..4ee2c7212 100644 --- a/src/Psalm/Checker/Statements/Expression/AssignmentChecker.php +++ b/src/Psalm/Checker/Statements/Expression/AssignmentChecker.php @@ -233,7 +233,12 @@ class AssignmentChecker } } - $var_id = ExpressionChecker::getVarId($stmt, $statements_checker->getAbsoluteClass(), $statements_checker->getNamespace(), $statements_checker->getAliasedClasses()); + $var_id = ExpressionChecker::getVarId( + $stmt, + $statements_checker->getAbsoluteClass(), + $statements_checker->getNamespace(), + $statements_checker->getAliasedClasses() + ); if ($lhs_type->isMixed()) { if (IssueBuffer::accepts(