Skip to content

Commit

Permalink
Revert "Temporarily disable failing test"
Browse files Browse the repository at this point in the history
This reverts commit f9598e9.
  • Loading branch information
ondrejmirtes committed Nov 27, 2023
1 parent 00c47b2 commit a92585a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/PHPStan/Analyser/data/match-expr.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ public function doBar(int $i): void
};
assertType('1|2|3|4', $i);

/*match ($i) {
match ($i) {
assertType('1|2|3|4', $i), 1, assertType('2|3|4', $i) => null,
assertType('2|3|4', $i) => null,
default => assertType('2|3|4', $i),
};*/
};
}

public function doGettype(int|float|bool|string|object|array $value): void
Expand Down

0 comments on commit a92585a

Please sign in to comment.