File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -190,11 +190,10 @@ public function setTypeDocBlockHint(?string $typeDocBlockHint): self
190
190
191
191
public function generate (): Node \Param
192
192
{
193
- // @phpstan-ignore-next-line
194
193
return new Node \Param (
195
194
new Node \Expr \Variable ($ this ->name ),
196
195
$ this ->defaultValue ? $ this ->defaultValue ->generate () : null ,
197
- $ this ->type ? $ this ->type ->generate () : null ,
196
+ $ this ->type ? $ this ->type ->generate () : null , // @phpstan-ignore-line
198
197
$ this ->passedByReference ,
199
198
$ this ->variadic
200
199
);
Original file line number Diff line number Diff line change @@ -157,7 +157,6 @@ public function setTypeDocBlockHint(?string $typeDocBlockHint): self
157
157
158
158
public function generate (): Property
159
159
{
160
- // @phpstan-ignore-next-line
161
160
return new Property (
162
161
$ this ->flags ,
163
162
[
@@ -167,6 +166,7 @@ public function generate(): Property
167
166
),
168
167
],
169
168
$ this ->generateAttributes (),
169
+ // @phpstan-ignore-next-line
170
170
$ this ->typed && null !== $ this ->type ? $ this ->type ->generate () : null
171
171
);
172
172
}
You can’t perform that action at this time.
0 commit comments