@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | /** |
76 | 76 | * @param string $name |
77 | 77 | * @param string $namespace |
78 | - * @return ReflectionConstant|NULL |
|
78 | + * @return ReflectionClass|null |
|
79 | 79 | */ |
80 | 80 | public function getConstant($name, $namespace = '') |
81 | 81 | { |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | /** |
93 | 93 | * @param string $name |
94 | 94 | * @param string $namespace |
95 | - * @return ReflectionFunction|NULL |
|
95 | + * @return ReflectionClass|null |
|
96 | 96 | */ |
97 | 97 | public function getFunction($name, $namespace = '') |
98 | 98 | { |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | * Tries to parse a definition of a class/method/property/constant/function |
111 | 111 | * |
112 | 112 | * @param string $definition |
113 | - * @param ReflectionElement|ReflectionParameter $reflectionElement Link context |
|
113 | + * @param ReflectionElement $reflectionElement Link context |
|
114 | 114 | * @param string $expectedName |
115 | 115 | * @return ReflectionElement|NULL |
116 | 116 | */ |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | /** |
227 | 227 | * @param string $definition |
228 | 228 | * @param ReflectionElement $reflectionElement |
229 | - * @return ReflectionClass|ReflectionConstant|ReflectionFunction|NULL |
|
229 | + * @return ReflectionClass|null |
|
230 | 230 | */ |
231 | 231 | private function resolveIfParsed($definition, ReflectionElement $reflectionElement) |
232 | 232 | { |
@@ -328,7 +328,7 @@ discard block |
||
328 | 328 | |
329 | 329 | |
330 | 330 | /** |
331 | - * @param array|ArrayObject $elements |
|
331 | + * @param ArrayObject $elements |
|
332 | 332 | * @param string $name |
333 | 333 | * @param string $namespace |
334 | 334 | * @return ReflectionClass|NULL |
@@ -149,7 +149,7 @@ |
||
149 | 149 | |
150 | 150 | |
151 | 151 | /** |
152 | - * @return ArrayObject|ReflectionClass[] |
|
152 | + * @return ArrayObject |
|
153 | 153 | */ |
154 | 154 | public function getParsedClasses() |
155 | 155 | { |
@@ -478,7 +478,7 @@ |
||
478 | 478 | |
479 | 479 | |
480 | 480 | /** |
481 | - * @param string|object $interface |
|
481 | + * @param string $interface |
|
482 | 482 | * @return bool |
483 | 483 | */ |
484 | 484 | public function implementsInterface($interface) |
@@ -356,7 +356,7 @@ |
||
356 | 356 | |
357 | 357 | |
358 | 358 | /** |
359 | - * @return TokenReflection\Invalid\ReflectionElement |
|
359 | + * @return ReflectionElement |
|
360 | 360 | */ |
361 | 361 | public function addReason(BaseException $reason) |
362 | 362 | { |
@@ -273,7 +273,7 @@ discard block |
||
273 | 273 | |
274 | 274 | |
275 | 275 | /** |
276 | - * @return ReflectionMethod|NULL |
|
276 | + * @return null|ReflectionMethodMagic |
|
277 | 277 | */ |
278 | 278 | public function getOverriddenMethod() |
279 | 279 | { |
@@ -352,7 +352,7 @@ discard block |
||
352 | 352 | /** |
353 | 353 | * Returns imported namespaces and aliases from the declaring namespace. |
354 | 354 | * |
355 | - * @return array |
|
355 | + * @return string[] |
|
356 | 356 | */ |
357 | 357 | public function getNamespaceAliases() |
358 | 358 | { |
@@ -9,7 +9,6 @@ |
||
9 | 9 | |
10 | 10 | namespace ApiGen\Reflection; |
11 | 11 | |
12 | -use ApiGen\Configuration\ConfigurationOptions as CO; |
|
13 | 12 | use ApiGen\Reflection\Parts\IsDocumentedMagic; |
14 | 13 | use ApiGen\Reflection\Parts\StartLineEndLine; |
15 | 14 | use ApiGen\Reflection\Parts\StartPositionEndPositionMagic; |
@@ -174,7 +174,7 @@ |
||
174 | 174 | |
175 | 175 | |
176 | 176 | /** |
177 | - * @return string |
|
177 | + * @return boolean |
|
178 | 178 | */ |
179 | 179 | public function getDefaultValueDefinition() |
180 | 180 | { |
@@ -169,7 +169,7 @@ |
||
169 | 169 | |
170 | 170 | |
171 | 171 | /** |
172 | - * @param ReflectionElement|string $element |
|
172 | + * @param ReflectionElement $element |
|
173 | 173 | * @return string |
174 | 174 | */ |
175 | 175 | private function detectClass($element) |
@@ -306,6 +306,7 @@ discard block |
||
306 | 306 | |
307 | 307 | |
308 | 308 | /** |
309 | + * @param ReflectionFunction $reflectionElement |
|
309 | 310 | * @return string |
310 | 311 | */ |
311 | 312 | private function createLinkForElement($reflectionElement, array $classes) |
@@ -341,7 +342,7 @@ discard block |
||
341 | 342 | |
342 | 343 | |
343 | 344 | /** |
344 | - * @param mixed $value |
|
345 | + * @param string $value |
|
345 | 346 | * @param ReflectionElement $reflectionElement |
346 | 347 | * @return string |
347 | 348 | */ |