mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix null return
This commit is contained in:
parent
914a352146
commit
f44ed22063
@ -191,7 +191,7 @@ class Union
|
||||
}
|
||||
|
||||
if (!$types) {
|
||||
return null;
|
||||
return false;
|
||||
}
|
||||
|
||||
$atomic_type = array_values($types)[0];
|
||||
|
Loading…
Reference in New Issue
Block a user