@@ -360,7 +360,7 @@ public function methodEquals(string $propertyName, string $argumentName = 'other
360360 return \$this-> $ propertyName === \$$ argumentName-> $ propertyName;
361361PHP ;
362362
363- $ parameter = new ParameterGenerator ($ argumentName );
363+ $ parameter = ( new ParameterGenerator ($ argumentName))-> setTypeDocBlockHint ( ' mixed ' );
364364
365365 $ method = new MethodGenerator (
366366 'equals ' ,
@@ -370,6 +370,7 @@ public function methodEquals(string $propertyName, string $argumentName = 'other
370370 MethodGenerator::FLAG_PUBLIC ,
371371 new BodyGenerator ($ this ->parser , $ body )
372372 );
373+ $ method ->setDocBlockComment ('' );
373374 $ method ->setTyped ($ this ->typed );
374375 $ method ->setReturnType ('bool ' );
375376
@@ -420,7 +421,7 @@ public function methodIsOneOf(string $argumentName, ?string $className): MethodG
420421 }
421422 return false;
422423PHP ;
423- $ parameter = (new ParameterGenerator ($ argumentName ))->setVariadic (true );
424+ $ parameter = (new ParameterGenerator ($ argumentName ))->setVariadic (true )-> setTypeDocBlockHint ( ' mixed ' ) ;
424425
425426 if ($ className !== null ) {
426427 $ parameter ->setType ($ className );
@@ -434,6 +435,7 @@ public function methodIsOneOf(string $argumentName, ?string $className): MethodG
434435 MethodGenerator::FLAG_PUBLIC ,
435436 new BodyGenerator ($ this ->parser , $ body )
436437 );
438+ $ method ->setDocBlockComment ('' );
437439 $ method ->setTyped ($ this ->typed );
438440 $ method ->setReturnType ('bool ' );
439441
0 commit comments