From 90ac3f7a4cae0c3489dced9eb7b3baf882293899 Mon Sep 17 00:00:00 2001 From: David Roe Date: Tue, 10 Oct 2023 14:18:25 +0100 Subject: [PATCH] fix: add property promotion param to param case --- internal/languages/php/analyzer/analyzer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/languages/php/analyzer/analyzer.go b/internal/languages/php/analyzer/analyzer.go index 803adaddb..7519e2a6f 100644 --- a/internal/languages/php/analyzer/analyzer.go +++ b/internal/languages/php/analyzer/analyzer.go @@ -37,7 +37,7 @@ func (analyzer *analyzer) Analyze(node *sitter.Node, visitChildren func() error) return analyzer.analyzeMethodInvocation(node, visitChildren) case "member_access_expression": return analyzer.analyzeFieldAccess(node, visitChildren) - case "simple_parameter", "variadic_parameter": + case "simple_parameter", "variadic_parameter", "property_promotion_parameter": return analyzer.analyzeParameter(node, visitChildren) case "switch_statement": return analyzer.analyzeSwitch(node, visitChildren)