php8: do not resolve reserved name mixed in NamespaceResolver

This commit is contained in:
Tyler Christensen
2023-04-24 12:44:02 -06:00
committed by Laytan Laats
parent 6855357aaa
commit 9281143091
2 changed files with 15 additions and 0 deletions

View File

@@ -370,6 +370,8 @@ func (ns *Namespace) ResolveName(nameNode ast.Vertex, aliasType string) (string,
case "iterable":
fallthrough
case "object":
fallthrough
case "mixed": // 8.0
return part, nil
}
}