@@ -14,12 +14,13 @@ |
||
14 | 14 | |
15 | 15 | /** |
16 | 16 | * @param int $maximum |
17 | + * @return void |
|
17 | 18 | */ |
18 | 19 | public function init($maximum = 1); |
19 | 20 | |
20 | 21 | |
21 | 22 | /** |
22 | - * @param int $increment |
|
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function increment($steps = 1); |
25 | 26 | } |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | |
162 | 162 | |
163 | 163 | /** |
164 | - * @param ClassReflectionInterface|ParameterReflectionInterface|FunctionReflectionInterface $reflectionElement |
|
164 | + * @param string $reflectionElement |
|
165 | 165 | * @return ClassReflectionInterface|FunctionReflectionInterface |
166 | 166 | */ |
167 | 167 | private function correctContextForParameterOrClassMember($reflectionElement) |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | * @param string $definition |
185 | 185 | * @param int $pos |
186 | 186 | * @param ElementReflectionInterface $reflectionElement |
187 | - * @return ClassReflectionInterface |
|
187 | + * @return ReflectionClass|null |
|
188 | 188 | */ |
189 | 189 | private function resolveContextForSelfProperty($definition, $pos, ElementReflectionInterface $reflectionElement) |
190 | 190 | { |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | /** |
219 | 219 | * @param string $definition |
220 | 220 | * @param ElementReflectionInterface $reflectionElement |
221 | - * @return ClassReflectionInterface|ConstantReflectionInterface|FunctionReflectionInterface|NULL |
|
221 | + * @return ReflectionClass|null |
|
222 | 222 | */ |
223 | 223 | private function resolveIfParsed($definition, ElementReflectionInterface $reflectionElement) |
224 | 224 | { |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | |
321 | 321 | |
322 | 322 | /** |
323 | - * @param array|ArrayObject $elements |
|
323 | + * @param ArrayObject $elements |
|
324 | 324 | * @param string $name |
325 | 325 | * @param string $namespace |
326 | 326 | * @return ReflectionClass|NULL |
@@ -336,7 +336,7 @@ |
||
336 | 336 | |
337 | 337 | |
338 | 338 | /** |
339 | - * @return array |
|
339 | + * @return ElementReflectionInterface[] |
|
340 | 340 | */ |
341 | 341 | private function getSubElements(ElementReflectionInterface $parentElement) |
342 | 342 | { |
@@ -145,7 +145,7 @@ |
||
145 | 145 | |
146 | 146 | |
147 | 147 | /** |
148 | - * @return ClassReflectionInterface[] |
|
148 | + * @return \ArrayObject |
|
149 | 149 | */ |
150 | 150 | public function getParsedClasses() |
151 | 151 | { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | |
38 | 38 | |
39 | 39 | /** |
40 | - * @param ElementReflectionInterface|string $element |
|
40 | + * @param ElementReflectionInterface $element |
|
41 | 41 | * @return string|NULL |
42 | 42 | */ |
43 | 43 | public function createForElement($element) |
@@ -184,7 +184,7 @@ |
||
184 | 184 | |
185 | 185 | |
186 | 186 | /** |
187 | - * @param ReflectionElement|string $element |
|
187 | + * @param ElementReflectionInterface $element |
|
188 | 188 | * @return string |
189 | 189 | */ |
190 | 190 | private function detectClass($element) |
@@ -305,6 +305,7 @@ discard block |
||
305 | 305 | |
306 | 306 | |
307 | 307 | /** |
308 | + * @param FunctionReflectionInterface $reflectionElement |
|
308 | 309 | * @return string |
309 | 310 | */ |
310 | 311 | private function createLinkForElement($reflectionElement, array $classes) |
@@ -340,7 +341,7 @@ discard block |
||
340 | 341 | |
341 | 342 | |
342 | 343 | /** |
343 | - * @param mixed $value |
|
344 | + * @param string $value |
|
344 | 345 | * @param ElementReflectionInterface $elementReflection |
345 | 346 | * @return string |
346 | 347 | */ |