1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Fix type check

This commit is contained in:
Brown 2020-04-26 20:21:24 -04:00
parent e65bffc94f
commit 10f3bef743

View File

@ -2229,7 +2229,7 @@ class ExpressionAnalyzer
}
if ($atomic_type instanceof TNamedObject
|| $atomic_type instanceof TObject
|| $atomic_type instanceof Type\Atomic\TObjectWithProperties
) {
$intersection_types = [$atomic_type];