@@ -31,35 +31,23 @@ final class PhpDocAnnotationGenerator extends AbstractAnnotationGenerator
3131
3232 private HtmlConverter $ htmlToMarkdown ;
3333
34- /**
35- * {@inheritdoc}
36- */
3734 public function __construct (PhpTypeConverterInterface $ phpTypeConverter , InflectorInterface $ inflector , array $ config , array $ classes )
3835 {
3936 parent ::__construct ($ phpTypeConverter , $ inflector , $ config , $ classes );
4037
4138 $ this ->htmlToMarkdown = new HtmlConverter ();
4239 }
4340
44- /**
45- * {@inheritdoc}
46- */
4741 public function generateClassAnnotations (Class_ $ class ): array
4842 {
4943 return $ this ->generateDoc ($ class );
5044 }
5145
52- /**
53- * {@inheritdoc}
54- */
5546 public function generateInterfaceAnnotations (Class_ $ class ): array
5647 {
5748 return $ this ->generateDoc ($ class , true );
5849 }
5950
60- /**
61- * {@inheritdoc}
62- */
6351 public function generateConstantAnnotations (Constant $ constant ): array
6452 {
6553 $ annotations = $ this ->formatDoc ($ constant ->comment (), true );
@@ -68,9 +56,6 @@ public function generateConstantAnnotations(Constant $constant): array
6856 return $ annotations ;
6957 }
7058
71- /**
72- * {@inheritdoc}
73- */
7459 public function generatePropertyAnnotations (Property $ property , string $ className ): array
7560 {
7661 $ description = $ this ->formatDoc ((string ) $ property ->description (), true );
@@ -92,9 +77,6 @@ public function generatePropertyAnnotations(Property $property, string $classNam
9277 return $ annotations ;
9378 }
9479
95- /**
96- * {@inheritdoc}
97- */
9880 public function generateGetterAnnotations (Property $ property ): array
9981 {
10082 if (!$ this ->isDocUseful ($ property )) {
@@ -104,9 +86,6 @@ public function generateGetterAnnotations(Property $property): array
10486 return [sprintf ('@return %s ' , $ this ->toPhpDocType ($ property ))];
10587 }
10688
107- /**
108- * {@inheritdoc}
109- */
11089 public function generateSetterAnnotations (Property $ property ): array
11190 {
11291 if (!$ this ->isDocUseful ($ property )) {
@@ -116,9 +95,6 @@ public function generateSetterAnnotations(Property $property): array
11695 return [sprintf ('@param %s $%s ' , $ this ->toPhpDocType ($ property ), $ property ->name ())];
11796 }
11897
119- /**
120- * {@inheritdoc}
121- */
12298 public function generateAdderAnnotations (Property $ property ): array
12399 {
124100 if (!$ this ->isDocUseful ($ property , true )) {
@@ -128,9 +104,6 @@ public function generateAdderAnnotations(Property $property): array
128104 return [sprintf ('@param %s $%s ' , $ this ->toPhpDocType ($ property , true ), $ this ->inflector ->singularize ($ property ->name ())[0 ])];
129105 }
130106
131- /**
132- * {@inheritdoc}
133- */
134107 public function generateRemoverAnnotations (Property $ property ): array
135108 {
136109 if (!$ this ->isDocUseful ($ property , true )) {
0 commit comments