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:
parent
e65bffc94f
commit
10f3bef743
@ -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];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user