1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Make line smaller

This commit is contained in:
Matt Brown 2017-05-04 18:41:33 -04:00
parent df890fbfb0
commit 2bd1dfafe7

View File

@ -606,7 +606,9 @@ class AssignmentChecker
return null;
}
if ($lhs_var_id !== '$this' && MethodChecker::methodExists($lhs_type_part . '::__set', $file_checker)) {
if ($lhs_var_id !== '$this' &&
MethodChecker::methodExists($lhs_type_part . '::__set', $file_checker)
) {
if ($var_id) {
$class_storage = ClassLikeChecker::$storage[strtolower((string)$lhs_type_part)];