1
0
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:
Matthew Brown 2018-01-08 20:12:24 -05:00
parent 914a352146
commit f44ed22063

View File

@ -191,7 +191,7 @@ class Union
}
if (!$types) {
return null;
return false;
}
$atomic_type = array_values($types)[0];