@@ -174,6 +174,9 @@ discard block |
||
174 | 174 | { |
175 | 175 | const INTERFACE_CONSTANT = 'test'; |
176 | 176 | |
177 | + /** |
|
178 | + * @return SubInterface|null |
|
179 | + */ |
|
177 | 180 | public function publicMethod(); |
178 | 181 | } |
179 | 182 | |
@@ -183,6 +186,10 @@ discard block |
||
183 | 186 | */ |
184 | 187 | interface AnotherSuperInterface |
185 | 188 | { |
189 | + |
|
190 | + /** |
|
191 | + * @return void |
|
192 | + */ |
|
186 | 193 | static public function staticMethod(); |
187 | 194 | } |
188 | 195 | } |
@@ -156,7 +156,7 @@ |
||
156 | 156 | /** |
157 | 157 | * Returns which templates and custom transformations need to be applied to the parsed data. |
158 | 158 | * |
159 | - * @return Transformer\Configuration\Transformations |
|
159 | + * @return Transformations[] |
|
160 | 160 | */ |
161 | 161 | public function getTransformations() |
162 | 162 | { |
@@ -117,7 +117,7 @@ |
||
117 | 117 | * |
118 | 118 | * @param boolean $isVariadic |
119 | 119 | * |
120 | - * @return false |
|
120 | + * @return false|null |
|
121 | 121 | */ |
122 | 122 | public function setVariadic($isVariadic) |
123 | 123 | { |
@@ -110,7 +110,7 @@ |
||
110 | 110 | * |
111 | 111 | * @param string $type |
112 | 112 | * |
113 | - * @return string|boolean |
|
113 | + * @return string|false |
|
114 | 114 | */ |
115 | 115 | protected function findClassNameForType($type) |
116 | 116 | { |
@@ -98,7 +98,7 @@ |
||
98 | 98 | * |
99 | 99 | * @throws \Exception Rethrows exception if nessesary |
100 | 100 | * |
101 | - * @return void |
|
101 | + * @return Settings |
|
102 | 102 | */ |
103 | 103 | protected function igBinaryCompatibleCacheClear($key, $e) |
104 | 104 | { |
@@ -88,6 +88,7 @@ discard block |
||
88 | 88 | |
89 | 89 | /** |
90 | 90 | * {@inheritDoc} |
91 | + * @param boolean $final |
|
91 | 92 | */ |
92 | 93 | public function setFinal($final) |
93 | 94 | { |
@@ -104,6 +105,7 @@ discard block |
||
104 | 105 | |
105 | 106 | /** |
106 | 107 | * {@inheritDoc} |
108 | + * @param boolean $abstract |
|
107 | 109 | */ |
108 | 110 | public function setAbstract($abstract) |
109 | 111 | { |
@@ -133,6 +133,9 @@ |
||
133 | 133 | return $inheritedMethods; |
134 | 134 | } |
135 | 135 | |
136 | + /** |
|
137 | + * @param string $package |
|
138 | + */ |
|
136 | 139 | public function setPackage($package) |
137 | 140 | { |
138 | 141 | parent::setPackage($package); |
@@ -19,7 +19,6 @@ |
||
19 | 19 | use phpDocumentor\Transformer\Event\PreXslWriterEvent; |
20 | 20 | use phpDocumentor\Transformer\Router\ForFileProxy; |
21 | 21 | use phpDocumentor\Transformer\Router\Queue; |
22 | -use phpDocumentor\Transformer\Transformation; |
|
23 | 22 | use phpDocumentor\Transformer\Transformation as TransformationObject; |
24 | 23 | use phpDocumentor\Transformer\Writer\Exception\RequirementMissing; |
25 | 24 | use phpDocumentor\Transformer\Writer\Routable; |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | } |
247 | 247 | |
248 | 248 | /** |
249 | - * @param $structureFilename |
|
249 | + * @param string $structureFilename |
|
250 | 250 | * @return \DOMDocument |
251 | 251 | */ |
252 | 252 | private function loadAst($structureFilename) |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | /** |
279 | 279 | * @param Transformation $transformation |
280 | 280 | * @param $proc |
281 | - * @param $structure |
|
281 | + * @param \DOMDocument $structure |
|
282 | 282 | */ |
283 | 283 | private function registerDefaultVariables(Transformation $transformation, $proc, $structure) |
284 | 284 | { |
@@ -295,9 +295,9 @@ discard block |
||
295 | 295 | } |
296 | 296 | |
297 | 297 | /** |
298 | - * @param $filename |
|
298 | + * @param string|null $filename |
|
299 | 299 | * @param $proc |
300 | - * @param $structure |
|
300 | + * @param \DOMDocument $structure |
|
301 | 301 | */ |
302 | 302 | private function writeToFile($filename, $proc, $structure) |
303 | 303 | { |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | * |
163 | 163 | * @param InputInterface $input |
164 | 164 | * |
165 | - * @return TemplateInterface |
|
165 | + * @return string |
|
166 | 166 | */ |
167 | 167 | protected function getTemplate(InputInterface $input) |
168 | 168 | { |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | * Constructs a Fileset collection and returns that. |
189 | 189 | * |
190 | 190 | * @param array $sources List of source paths. |
191 | - * @param array $extensions List of extensions to scan for in directories. |
|
191 | + * @param string[] $extensions List of extensions to scan for in directories. |
|
192 | 192 | * |
193 | 193 | * @return Collection |
194 | 194 | */ |