@@ -31,35 +31,23 @@ final class PhpDocAnnotationGenerator extends AbstractAnnotationGenerator
31
31
32
32
private HtmlConverter $ htmlToMarkdown ;
33
33
34
- /**
35
- * {@inheritdoc}
36
- */
37
34
public function __construct (PhpTypeConverterInterface $ phpTypeConverter , InflectorInterface $ inflector , array $ config , array $ classes )
38
35
{
39
36
parent ::__construct ($ phpTypeConverter , $ inflector , $ config , $ classes );
40
37
41
38
$ this ->htmlToMarkdown = new HtmlConverter ();
42
39
}
43
40
44
- /**
45
- * {@inheritdoc}
46
- */
47
41
public function generateClassAnnotations (Class_ $ class ): array
48
42
{
49
43
return $ this ->generateDoc ($ class );
50
44
}
51
45
52
- /**
53
- * {@inheritdoc}
54
- */
55
46
public function generateInterfaceAnnotations (Class_ $ class ): array
56
47
{
57
48
return $ this ->generateDoc ($ class , true );
58
49
}
59
50
60
- /**
61
- * {@inheritdoc}
62
- */
63
51
public function generateConstantAnnotations (Constant $ constant ): array
64
52
{
65
53
$ annotations = $ this ->formatDoc ($ constant ->comment (), true );
@@ -68,9 +56,6 @@ public function generateConstantAnnotations(Constant $constant): array
68
56
return $ annotations ;
69
57
}
70
58
71
- /**
72
- * {@inheritdoc}
73
- */
74
59
public function generatePropertyAnnotations (Property $ property , string $ className ): array
75
60
{
76
61
$ description = $ this ->formatDoc ((string ) $ property ->description (), true );
@@ -92,9 +77,6 @@ public function generatePropertyAnnotations(Property $property, string $classNam
92
77
return $ annotations ;
93
78
}
94
79
95
- /**
96
- * {@inheritdoc}
97
- */
98
80
public function generateGetterAnnotations (Property $ property ): array
99
81
{
100
82
if (!$ this ->isDocUseful ($ property )) {
@@ -104,9 +86,6 @@ public function generateGetterAnnotations(Property $property): array
104
86
return [sprintf ('@return %s ' , $ this ->toPhpDocType ($ property ))];
105
87
}
106
88
107
- /**
108
- * {@inheritdoc}
109
- */
110
89
public function generateSetterAnnotations (Property $ property ): array
111
90
{
112
91
if (!$ this ->isDocUseful ($ property )) {
@@ -116,9 +95,6 @@ public function generateSetterAnnotations(Property $property): array
116
95
return [sprintf ('@param %s $%s ' , $ this ->toPhpDocType ($ property ), $ property ->name ())];
117
96
}
118
97
119
- /**
120
- * {@inheritdoc}
121
- */
122
98
public function generateAdderAnnotations (Property $ property ): array
123
99
{
124
100
if (!$ this ->isDocUseful ($ property , true )) {
@@ -128,9 +104,6 @@ public function generateAdderAnnotations(Property $property): array
128
104
return [sprintf ('@param %s $%s ' , $ this ->toPhpDocType ($ property , true ), $ this ->inflector ->singularize ($ property ->name ())[0 ])];
129
105
}
130
106
131
- /**
132
- * {@inheritdoc}
133
- */
134
107
public function generateRemoverAnnotations (Property $ property ): array
135
108
{
136
109
if (!$ this ->isDocUseful ($ property , true )) {
0 commit comments