mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Don't assert mixed type
This commit is contained in:
parent
e33492398b
commit
e8e2624c5f
@ -3378,7 +3378,7 @@ class AssertionFinder
|
||||
}
|
||||
|
||||
|
||||
if ($other_var_name && $other_type) {
|
||||
if ($other_var_name && $other_type && !$other_type->isMixed()) {
|
||||
if ($identical) {
|
||||
try {
|
||||
$assertion = $other_type->getAssertionString(true);
|
||||
|
Loading…
Reference in New Issue
Block a user