Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous syntax resulted in assertions having an impact on both cases when true and false were returned. Let us switch to equality assertions when we cannot deduce anything for the other case, and to a single assertion when we can deduce something in both cases. See https://psalm.dev/docs/annotating_code/assertion_syntax/#equality-assertions See vimeo/psalm#8896
- Loading branch information