@@ -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) |
@@ -271,7 +271,7 @@ |
||
271 | 271 | /** |
272 | 272 | * This method will return the class where this property was declared. |
273 | 273 | * |
274 | - * @return \PDepend\Source\AST\AbstractASTClassOrInterface |
|
274 | + * @return AbstractASTArtifact |
|
275 | 275 | * @since 0.9.6 |
276 | 276 | */ |
277 | 277 | public function getDeclaringClass() |
@@ -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 | { |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | /** |
333 | 333 | * Assign CLI arguments to current runner instance |
334 | 334 | * |
335 | - * @return bool |
|
335 | + * @return boolean|null |
|
336 | 336 | */ |
337 | 337 | protected function assignArguments() |
338 | 338 | { |
@@ -628,7 +628,7 @@ discard block |
||
628 | 628 | } |
629 | 629 | |
630 | 630 | /** |
631 | - * @param $startTime |
|
631 | + * @param integer $startTime |
|
632 | 632 | */ |
633 | 633 | private function printStatistics($startTime) |
634 | 634 | { |
@@ -247,7 +247,7 @@ |
||
247 | 247 | * Starts the main PDepend process and returns <b>true</b> after a successful |
248 | 248 | * execution. |
249 | 249 | * |
250 | - * @return boolean |
|
250 | + * @return integer |
|
251 | 251 | * @throws \RuntimeException An exception with a readable error message and |
252 | 252 | * an exit code. |
253 | 253 | */ |
@@ -105,7 +105,7 @@ |
||
105 | 105 | * Returns the percentage code coverage for the given item instance. |
106 | 106 | * |
107 | 107 | * @param \PDepend\Source\AST\AbstractASTArtifact $artifact |
108 | - * @return float |
|
108 | + * @return integer |
|
109 | 109 | */ |
110 | 110 | public function getCoverage(AbstractASTArtifact $artifact) |
111 | 111 | { |