Skip to content

Commit

Permalink
Merge pull request #9236 from weirdan/fix-cs-issues-2
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Feb 7, 2023
2 parents 93bc564 + 3c4a829 commit 3584826
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Psalm/Internal/Algebra.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Psalm\Exception\ComplicatedExpressionException;
use Psalm\Storage\Assertion;
use Psalm\Storage\Assertion\Falsy;
use UnexpectedValueException;

use function array_filter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public static function analyze(

$partitioned_clauses = Context::removeReconciledClauses(
[...$left_context->clauses, ...$left_clauses],
$changed_var_ids
$changed_var_ids,
);

$right_context->clauses = $partitioned_clauses[0];
Expand Down
4 changes: 2 additions & 2 deletions tests/TypeReconciliation/TypeAlgebraTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ function foo(Base $base): void {
echo $base->s;
}
}
}'
}',
],
'subclassAfterElseifNegation' => [
'code' => '<?php
Expand All @@ -1243,7 +1243,7 @@ function foo(Base $base): void {
} elseif ($base instanceof B && rand(0, 1)) {
echo $base->s;
}
}'
}',
],
];
}
Expand Down

0 comments on commit 3584826

Please sign in to comment.