mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Fix long line
This commit is contained in:
parent
473040ca8f
commit
e1d5eab7a2
@ -882,7 +882,10 @@ class ExpressionChecker
|
||||
if (!($stmt->right instanceof PhpParser\Node\Expr\Exit_)) {
|
||||
foreach ($op_context->vars_in_scope as $var_id => $type) {
|
||||
if (isset($context->vars_in_scope[$var_id])) {
|
||||
$context->vars_in_scope[$var_id] = Type::combineUnionTypes($context->vars_in_scope[$var_id], $type);
|
||||
$context->vars_in_scope[$var_id] = Type::combineUnionTypes(
|
||||
$context->vars_in_scope[$var_id],
|
||||
$type
|
||||
);
|
||||
}
|
||||
}
|
||||
} elseif ($stmt->left instanceof PhpParser\Node\Expr\Assign) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user