php8.1: resolve intersection types in NamespaceResolver
This commit is contained in:
committed by
Laytan Laats
parent
3c45afd848
commit
6855357aaa
@@ -283,6 +283,10 @@ func (nsr *NamespaceResolver) ResolveType(n ast.Vertex) {
|
||||
for _, nnn := range nn.Types {
|
||||
nsr.ResolveType(nnn)
|
||||
}
|
||||
case *ast.Intersection:
|
||||
for _, nnn := range nn.Types {
|
||||
nsr.ResolveType(nnn)
|
||||
}
|
||||
|
||||
case *ast.Name:
|
||||
nsr.ResolveName(n, "")
|
||||
|
||||
Reference in New Issue
Block a user