@@ -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) |
@@ -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 | { |
@@ -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; |
@@ -89,7 +89,7 @@ |
||
89 | 89 | * |
90 | 90 | * @param Fqsen $fqsen |
91 | 91 | * |
92 | - * @return m\MockInterface|Element |
|
92 | + * @return m\MockInterface |
|
93 | 93 | */ |
94 | 94 | private function givenAnElementWithFqsen($fqsen) |
95 | 95 | { |
@@ -66,7 +66,7 @@ |
||
66 | 66 | * @param string $nodeName |
67 | 67 | * @param mixed $returns |
68 | 68 | * |
69 | - * @return m\MockInterface|RouterAbstract |
|
69 | + * @return m\MockInterface |
|
70 | 70 | */ |
71 | 71 | protected function givenARouterMatchingNodeWithResult($nodeName, $returns) |
72 | 72 | { |