Skip to content

Commit

Permalink
Allow parenthesis around anonymous class parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
wvega committed Feb 7, 2022
1 parent ba1f6da commit 0b23e0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CodeManipulation/Actions/RedefinitionOfNew.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ function hasExtraParentheses(Source $s, $new)
T_ARRAY,
T_PRINT,
T_ECHO,
T_CLASS,
Generic\NAME_FULLY_QUALIFIED,
Generic\NAME_QUALIFIED,
Generic\NAME_RELATIVE,
Expand Down

0 comments on commit 0b23e0b

Please sign in to comment.