@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | * Returns all {@link \PDepend\Source\AST\AbstractASTClassOrInterface} |
257 | 257 | * objects this function depends on. |
258 | 258 | * |
259 | - * @return \PDepend\Source\AST\AbstractASTClassOrInterface[] |
|
259 | + * @return ASTClassOrInterfaceReferenceIterator |
|
260 | 260 | */ |
261 | 261 | public function getDependencies() |
262 | 262 | { |
@@ -350,7 +350,7 @@ discard block |
||
350 | 350 | * Returns an iterator with thrown exception |
351 | 351 | * {@link \PDepend\Source\AST\AbstractASTClassOrInterface} instances. |
352 | 352 | * |
353 | - * @return \PDepend\Source\AST\AbstractASTClassOrInterface[] |
|
353 | + * @return ASTClassOrInterfaceReferenceIterator |
|
354 | 354 | */ |
355 | 355 | public function getExceptionClasses() |
356 | 356 | { |
@@ -482,7 +482,7 @@ discard block |
||
482 | 482 | * gets serialized. It returns an array with those properties that should be |
483 | 483 | * cached for all callable instances. |
484 | 484 | * |
485 | - * @return array |
|
485 | + * @return string[] |
|
486 | 486 | * @since 0.10.0 |
487 | 487 | */ |
488 | 488 | public function __sleep() |
@@ -93,7 +93,7 @@ |
||
93 | 93 | /** |
94 | 94 | * Returns all properties for this class. |
95 | 95 | * |
96 | - * @return \PDepend\Source\AST\ASTProperty[] |
|
96 | + * @return ASTArtifactList |
|
97 | 97 | */ |
98 | 98 | public function getProperties() |
99 | 99 | { |
@@ -116,7 +116,7 @@ |
||
116 | 116 | * Magic method which returns the names of all those properties that should |
117 | 117 | * be cached for this node instance. |
118 | 118 | * |
119 | - * @return array |
|
119 | + * @return string[] |
|
120 | 120 | * @since 0.10.0 |
121 | 121 | */ |
122 | 122 | public function __sleep() |
@@ -65,8 +65,8 @@ |
||
65 | 65 | * by a visitor during tree traversal. |
66 | 66 | * |
67 | 67 | * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor |
68 | - * @param mixed $data |
|
69 | - * @return mixed |
|
68 | + * @param integer $data |
|
69 | + * @return string |
|
70 | 70 | * @since 0.9.12 |
71 | 71 | */ |
72 | 72 | public function accept(ASTVisitor $visitor, $data = null) |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * before an instance of this class gets serialized. It should return an |
122 | 122 | * array with those property names that should be serialized for this class. |
123 | 123 | * |
124 | - * @return array |
|
124 | + * @return string[] |
|
125 | 125 | * @since 0.10.0 |
126 | 126 | */ |
127 | 127 | public function __sleep() |
@@ -57,9 +57,9 @@ |
||
57 | 57 | * by a visitor during tree traversal. |
58 | 58 | * |
59 | 59 | * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor The calling visitor instance. |
60 | - * @param mixed $data |
|
60 | + * @param integer $data |
|
61 | 61 | * |
62 | - * @return mixed |
|
62 | + * @return string |
|
63 | 63 | * @since 0.9.12 |
64 | 64 | */ |
65 | 65 | public function accept(\PDepend\Source\ASTVisitor\ASTVisitor $visitor, $data = null) |
@@ -117,7 +117,7 @@ |
||
117 | 117 | * before an instance of this class gets serialized. It should return an |
118 | 118 | * array with those property names that should be serialized for this class. |
119 | 119 | * |
120 | - * @return array |
|
120 | + * @return string[] |
|
121 | 121 | */ |
122 | 122 | public function __sleep() |
123 | 123 | { |
@@ -58,7 +58,7 @@ |
||
58 | 58 | * |
59 | 59 | * @param string $testCase |
60 | 60 | * @param boolean $ignoreAnnotations |
61 | - * @return \PDepend\Source\AST\ASTNamespace[] |
|
61 | + * @return \PDepend\Source\AST\ASTArtifactList |
|
62 | 62 | */ |
63 | 63 | public function parseTestCaseSource($testCase, $ignoreAnnotations = false) |
64 | 64 | { |
@@ -466,6 +466,9 @@ |
||
466 | 466 | return $this->getCodeRankOrReverseCodeRank('rcr', $options); |
467 | 467 | } |
468 | 468 | |
469 | + /** |
|
470 | + * @param string $metricName |
|
471 | + */ |
|
469 | 472 | protected function getCodeRankOrReverseCodeRank($metricName, array $options = array()) |
470 | 473 | { |
471 | 474 | $namespaces = $this->parseCodeResourceForTest(); |