@@ -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(); |
@@ -984,7 +984,7 @@ |
||
984 | 984 | /** |
985 | 985 | * Tests that the parser supports sub packages. |
986 | 986 | * |
987 | - * @return \PDepend\Source\AST\ASTNamespace[] |
|
987 | + * @return ASTArtifactList |
|
988 | 988 | */ |
989 | 989 | public function testParserSetsFileLevelFunctionPackage() |
990 | 990 | { |
@@ -219,6 +219,9 @@ |
||
219 | 219 | ); |
220 | 220 | } |
221 | 221 | |
222 | + /** |
|
223 | + * @param string $fileName |
|
224 | + */ |
|
222 | 225 | protected function getNormalizedPathXml($fileName) |
223 | 226 | { |
224 | 227 | return preg_replace( |
@@ -43,7 +43,6 @@ |
||
43 | 43 | namespace PDepend\Report\Dependencies; |
44 | 44 | |
45 | 45 | use PDepend\AbstractTest; |
46 | -use PDepend\Source\AST\ASTArtifactList; |
|
47 | 46 | |
48 | 47 | /** |
49 | 48 | * Test case for the xml summary log. |