Skip to content

Commit

Permalink
Fix things
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Aug 7, 2020
1 parent e61765f commit b6d9ee5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -375,7 +375,7 @@ public static function analyze(
}
}

if ($case_clauses) {
if ($case_clauses && $case_equality_expr) {
try {
$negated_case_clauses = Algebra::negateFormula($case_clauses);
} catch (\Psalm\Exception\ComplicatedExpressionException $e) {
Expand Down

0 comments on commit b6d9ee5

Please sign in to comment.