@@ -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 | } |
@@ -60,6 +60,10 @@ |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | // TODO: Change this; plugins are not read from a config file provided on runtime |
63 | + |
|
64 | + /** |
|
65 | + * @param \DI\Container $container |
|
66 | + */ |
|
63 | 67 | private function registerPlugins($container) |
64 | 68 | { |
65 | 69 | //TODO: refactor this method. Previously config was used here. |
@@ -117,7 +117,7 @@ |
||
117 | 117 | /** |
118 | 118 | * Returns the path part of the DSN |
119 | 119 | * |
120 | - * @return string |
|
120 | + * @return Path |
|
121 | 121 | */ |
122 | 122 | public function getPath() |
123 | 123 | { |
@@ -81,6 +81,7 @@ |
||
81 | 81 | * Convert path to ItemName |
82 | 82 | * |
83 | 83 | * @param path |
84 | + * @param string $path |
|
84 | 85 | * @return string |
85 | 86 | */ |
86 | 87 | private function getItemName($path) |
@@ -25,12 +25,7 @@ |
||
25 | 25 | use phpDocumentor\Renderer\RenderActionCompleted; |
26 | 26 | use phpDocumentor\Renderer\RenderingFinished; |
27 | 27 | use phpDocumentor\Renderer\RenderingStarted; |
28 | -use Stash\Driver\FileSystem; |
|
29 | 28 | use Symfony\Component\Console\Command\Command; |
30 | -use Symfony\Component\Console\Helper\HelperInterface; |
|
31 | -use Symfony\Component\Console\Helper\ProgressBar; |
|
32 | -use Symfony\Component\Console\Helper\ProgressHelper; |
|
33 | -use Symfony\Component\Console\Input\ArrayInput; |
|
34 | 29 | use Symfony\Component\Console\Input\InputArgument; |
35 | 30 | use Symfony\Component\Console\Input\InputInterface; |
36 | 31 | use Symfony\Component\Console\Input\InputOption; |
@@ -400,9 +400,9 @@ discard block |
||
400 | 400 | } |
401 | 401 | |
402 | 402 | /** |
403 | - * @param $definition |
|
403 | + * @param \phpDocumentor\DomainModel\Parser\Version\Definition $definition |
|
404 | 404 | * |
405 | - * @return null|\phpDocumentor\DomainModel\Parser\Documentation |
|
405 | + * @return \phpDocumentor\DomainModel\Parser\Documentation |
|
406 | 406 | */ |
407 | 407 | private function parse($definition) |
408 | 408 | { |
@@ -420,8 +420,8 @@ discard block |
||
420 | 420 | } |
421 | 421 | |
422 | 422 | /** |
423 | - * @param $documentation |
|
424 | - * @param $destinationFilesystem |
|
423 | + * @param \phpDocumentor\DomainModel\Parser\Documentation $documentation |
|
424 | + * @param \League\Flysystem\Filesystem $destinationFilesystem |
|
425 | 425 | * @param $templates |
426 | 426 | */ |
427 | 427 | private function render($documentation, $destinationFilesystem, $templates) |
@@ -13,8 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use DomainModel\Renderer; |
15 | 15 | use phpDocumentor\DomainModel\Path; |
16 | -use phpDocumentor\Application\Renderer\Template\Action; |
|
17 | -use phpDocumentor\Application\Renderer\Template\Action\Xml; |
|
18 | 16 | use phpDocumentor\Application\Renderer\StructureXmlRenderer\ArgumentConverter; |
19 | 17 | use phpDocumentor\Application\Renderer\StructureXmlRenderer\ConstantConverter; |
20 | 18 | use phpDocumentor\Application\Renderer\StructureXmlRenderer\DocBlockConverter; |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use phpDocumentor\Descriptor\DescriptorAbstract; |
16 | 16 | use PhpParser\Node; |
17 | 17 | use PhpParser\PrettyPrinter\Standard; |
18 | -use PhpParser\PrettyPrinterTest; |
|
19 | 18 | |
20 | 19 | /** |
21 | 20 | * Converter used to create an XML Element representing a method or function argument. |
@@ -103,7 +103,7 @@ |
||
103 | 103 | * See the Class' DocBlock for a listing of functionality added by this |
104 | 104 | * Extension. |
105 | 105 | * |
106 | - * @return \Twig_FunctionInterface[] |
|
106 | + * @return \Twig_SimpleFunction[] |
|
107 | 107 | */ |
108 | 108 | public function getFunctions() |
109 | 109 | { |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | } |
228 | 228 | |
229 | 229 | /** |
230 | - * @param $structureFilename |
|
230 | + * @param string $structureFilename |
|
231 | 231 | * @return \DOMDocument |
232 | 232 | */ |
233 | 233 | private function loadAst($structureFilename) |
@@ -268,9 +268,9 @@ discard block |
||
268 | 268 | } |
269 | 269 | |
270 | 270 | /** |
271 | - * @param $filename |
|
271 | + * @param string|null $filename |
|
272 | 272 | * @param $proc |
273 | - * @param $structure |
|
273 | + * @param \DOMDocument $structure |
|
274 | 274 | */ |
275 | 275 | private function writeToFile($filename, $proc, $structure) |
276 | 276 | { |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | /** |
293 | 293 | * @param ProjectInterface $project |
294 | 294 | * @param $element |
295 | - * @return false|string |
|
295 | + * @return string |
|
296 | 296 | */ |
297 | 297 | private function generateUrlForXmlElement(ProjectInterface $project, $element) |
298 | 298 | { |