@@ -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 | } |
@@ -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) |
@@ -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 | { |
@@ -198,6 +198,9 @@ |
||
198 | 198 | return $collection; |
199 | 199 | } |
200 | 200 | |
201 | + /** |
|
202 | + * @param string $presentation |
|
203 | + */ |
|
201 | 204 | protected function renderLink($path, $presentation) |
202 | 205 | { |
203 | 206 | $url = false; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace phpDocumentor\DomainModel\Renderer\Router; |
4 | 4 | |
5 | 5 | use phpDocumentor\Descriptor\Collection; |
6 | -use phpDocumentor\Descriptor\DescriptorAbstract; |
|
7 | 6 | use phpDocumentor\Descriptor\Type\CollectionDescriptor; |
8 | 7 | |
9 | 8 | /** |
@@ -13,7 +13,6 @@ |
||
13 | 13 | namespace phpDocumentor\ApiReference; |
14 | 14 | |
15 | 15 | use Flyfinder\Specification\SpecificationInterface; |
16 | -use League\Flysystem\Filesystem; |
|
17 | 16 | use Mockery as m; |
18 | 17 | use phpDocumentor\DocumentGroupFormat; |
19 | 18 | use phpDocumentor\FileSystemFactory; |
@@ -54,7 +54,6 @@ |
||
54 | 54 | use phpDocumentor\Application\Renderer\Router\StandardRouter; |
55 | 55 | use phpDocumentor\Infrastructure\SpecificationFactory; |
56 | 56 | use phpDocumentor\DomainModel\Uri; |
57 | -use phpDocumentor\Application\ReadModel; |
|
58 | 57 | use phpDocumentor\Application\ReadModel\FromContainerFactory; |
59 | 58 | use phpDocumentor\Application\ReadModel\Mappers\Project; |
60 | 59 | use Stash\Driver\FileSystem; |