@@ -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 | { |
@@ -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; |
@@ -30,9 +30,9 @@ |
||
30 | 30 | /** |
31 | 31 | * Creates a SpecificationInterface object based on the ignore and extension parameters. |
32 | 32 | * |
33 | - * @param array $paths |
|
33 | + * @param string[] $paths |
|
34 | 34 | * @param array $ignore |
35 | - * @param array $extensions |
|
35 | + * @param string[] $extensions |
|
36 | 36 | * @return SpecificationInterface |
37 | 37 | */ |
38 | 38 | public function create(array $paths, array $ignore, array $extensions) |
@@ -96,6 +96,9 @@ discard block |
||
96 | 96 | return $this->create($renderPass, $template); |
97 | 97 | } |
98 | 98 | |
99 | + /** |
|
100 | + * @param string $path |
|
101 | + */ |
|
99 | 102 | private function readFromXml($path) |
100 | 103 | { |
101 | 104 | if (isset($this->templateTemplates[$path])) { |
@@ -256,7 +259,7 @@ discard block |
||
256 | 259 | * for this specific action. |
257 | 260 | * |
258 | 261 | * @param Template $template |
259 | - * @param string[]|string[][] $action |
|
262 | + * @param string[] $action |
|
260 | 263 | * |
261 | 264 | * @throws \InvalidArgumentException if one of the parameters is not a valid array |
262 | 265 | * @throws \InvalidArgumentException if one of the parameters does not contain the 'key' element |
@@ -47,7 +47,7 @@ |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
50 | - * @return Filesystem |
|
50 | + * @return string |
|
51 | 51 | */ |
52 | 52 | public function getTarget() |
53 | 53 | { |