Skip to content

Commit

Permalink
fix: add property promotion param to param case
Browse files Browse the repository at this point in the history
  • Loading branch information
didroe committed Oct 10, 2023
1 parent 0265ba2 commit 90ac3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/languages/php/analyzer/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 90ac3f7

Please sign in to comment.