File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 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
190190
191191 public function generate (): Node \Param
192192 {
193- // @phpstan-ignore-next-line
194193 return new Node \Param (
195194 new Node \Expr \Variable ($ this ->name ),
196195 $ this ->defaultValue ? $ this ->defaultValue ->generate () : null ,
197- $ this ->type ? $ this ->type ->generate () : null ,
196+ $ this ->type ? $ this ->type ->generate () : null , // @phpstan-ignore-line
198197 $ this ->passedByReference ,
199198 $ this ->variadic
200199 );
Original file line number Diff line number Diff line change @@ -157,7 +157,6 @@ public function setTypeDocBlockHint(?string $typeDocBlockHint): self
157157
158158 public function generate (): Property
159159 {
160- // @phpstan-ignore-next-line
161160 return new Property (
162161 $ this ->flags ,
163162 [
@@ -167,6 +166,7 @@ public function generate(): Property
167166 ),
168167 ],
169168 $ this ->generateAttributes (),
169+ // @phpstan-ignore-next-line
170170 $ this ->typed && null !== $ this ->type ? $ this ->type ->generate () : null
171171 );
172172 }
You can’t perform that action at this time.
0 commit comments