mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix bad fix
This commit is contained in:
parent
faee4f6a0d
commit
27db90dd1e
@ -149,7 +149,7 @@ class Union
|
||||
$nullable = true;
|
||||
}
|
||||
|
||||
if ($types) {
|
||||
if (!$types) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user