mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix test condition
This commit is contained in:
parent
1c218c020e
commit
1a3129b0e0
@ -2012,6 +2012,10 @@ class AssertionFinder
|
||||
Codebase $codebase,
|
||||
bool $negate
|
||||
) : void {
|
||||
if ($first_var_type->hasMixed()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$always_contains = TypeAnalyzer::isContainedBy(
|
||||
$codebase,
|
||||
$expected_type,
|
||||
|
Loading…
Reference in New Issue
Block a user