File tree Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,8 @@ private function collectMethodAndParameterAttributes(
131
131
string $ class ,
132
132
\ReflectionMethod $ methodReflection ,
133
133
array &$ methodAttributes ,
134
- array &$ methodParameterAttributes ,
134
+ array &$ methodParameterAttributes
135
+ ,
135
136
): void {
136
137
foreach ($ methodReflection ->getAttributes () as $ attribute ) {
137
138
if (self ::isAttributeIgnored ($ attribute )) {
Original file line number Diff line number Diff line change 7
7
#[Attribute(Attribute::TARGET_PARAMETER )]
8
8
class ParameterA
9
9
{
10
- public string $ label ;
11
10
public function __construct (
12
- string $ label = ''
11
+ public string $ label = ''
13
12
) {
14
- $ this ->label = $ label ;
15
13
}
16
14
}
Original file line number Diff line number Diff line change 7
7
#[Attribute(Attribute::TARGET_PARAMETER )]
8
8
class ParameterB
9
9
{
10
- public string $ label ;
11
- public string $ moreData ;
12
10
public function __construct (
13
- string $ label = '' ,
14
- string $ moreData = ''
11
+ public string $ label = '' ,
12
+ public string $ moreData = ''
15
13
) {
16
- $ this ->label = $ label ;
17
- $ this ->moreData = $ moreData ;
18
14
}
19
15
}
You can’t perform that action at this time.
0 commit comments