1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00
This commit is contained in:
Brown 2020-05-19 14:58:53 -04:00
parent b38d945b12
commit b5ae0167a2

View File

@ -213,9 +213,9 @@ class CastAnalyzer
}
if ($atomic_type instanceof TNull
|| $atomic_type instanceof TFalse
|| $atomic_type instanceof Type\Atomic\TFalse
) {
$valid_strings[] = new Typee\Atomic\TLiteralString('');
$valid_strings[] = new Type\Atomic\TLiteralString('');
continue;
}