1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix bad fix

This commit is contained in:
Matt Brown 2018-01-08 18:30:30 -05:00
parent faee4f6a0d
commit 27db90dd1e

View File

@ -149,7 +149,7 @@ class Union
$nullable = true;
}
if ($types) {
if (!$types) {
return null;
}