fix bug(for real)

This commit is contained in:
orklah 2021-02-23 22:28:28 +01:00
parent 1615f8c447
commit f41818eedf

View File

@ -63,7 +63,7 @@ class NotEmptyHooks implements AfterExpressionAnalysisInterface
$type->removeType('null');
}
if($type->isSingle()){
if(!$type->isSingle()){
//we removed null but the type is still not single
return true;
}