@@ -143,7 +143,7 @@ |
||
143 | 143 | * This method must return an <b>array</b> of class names for required |
144 | 144 | * analyzers. |
145 | 145 | * |
146 | - * @return array<string> |
|
146 | + * @return string[] |
|
147 | 147 | */ |
148 | 148 | public function getRequiredAnalyzers() |
149 | 149 | { |
@@ -122,7 +122,7 @@ |
||
122 | 122 | * Returns an array with analyzer class names that are required by the crap |
123 | 123 | * index analyzers. |
124 | 124 | * |
125 | - * @return array<string> |
|
125 | + * @return string[] |
|
126 | 126 | */ |
127 | 127 | public function getRequiredAnalyzers() |
128 | 128 | { |
@@ -118,7 +118,7 @@ |
||
118 | 118 | * Returns an <b>array</b> with accepted analyzer types. These types can be |
119 | 119 | * concrete analyzer classes or one of the descriptive analyzer interfaces. |
120 | 120 | * |
121 | - * @return array<string> |
|
121 | + * @return string[] |
|
122 | 122 | */ |
123 | 123 | public function getAcceptedAnalyzers() |
124 | 124 | { |
@@ -127,7 +127,7 @@ |
||
127 | 127 | * Magic sleep method that returns an array with those property names that |
128 | 128 | * should be cached for this node instance. |
129 | 129 | * |
130 | - * @return array<string> |
|
130 | + * @return string[] |
|
131 | 131 | */ |
132 | 132 | public function __sleep() |
133 | 133 | { |
@@ -120,7 +120,7 @@ |
||
120 | 120 | * before an instance of this class gets serialized. It should return an |
121 | 121 | * array with those property names that should be serialized for this class. |
122 | 122 | * |
123 | - * @return array<string> |
|
123 | + * @return string[] |
|
124 | 124 | * @since 0.10.0 |
125 | 125 | */ |
126 | 126 | public function __sleep() |
@@ -172,7 +172,7 @@ |
||
172 | 172 | * This method will return the class where the parent method was declared. |
173 | 173 | * The returned value will be <b>null</b> if the parent is a function. |
174 | 174 | * |
175 | - * @return \PDepend\Source\AST\AbstractASTClassOrInterface|null |
|
175 | + * @return AbstractASTType|null |
|
176 | 176 | * @since 0.9.5 |
177 | 177 | */ |
178 | 178 | public function getDeclaringClass() |
@@ -84,9 +84,9 @@ discard block |
||
84 | 84 | * by a visitor during tree traversal. |
85 | 85 | * |
86 | 86 | * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor The calling visitor instance. |
87 | - * @param mixed $data |
|
87 | + * @param integer $data |
|
88 | 88 | * |
89 | - * @return mixed |
|
89 | + * @return string |
|
90 | 90 | * @since 0.9.12 |
91 | 91 | */ |
92 | 92 | public function accept(\PDepend\Source\ASTVisitor\ASTVisitor $visitor, $data = null) |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * before an instance of this class gets serialized. It should return an |
100 | 100 | * array with those property names that should be serialized for this class. |
101 | 101 | * |
102 | - * @return array<string> |
|
102 | + * @return string[] |
|
103 | 103 | * @since 0.10.0 |
104 | 104 | */ |
105 | 105 | public function __sleep() |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | } |
193 | 193 | |
194 | 194 | /** |
195 | - * @return \PDepend\Source\AST\ASTType |
|
195 | + * @return ASTNode |
|
196 | 196 | */ |
197 | 197 | protected function parseReturnTypeHint() |
198 | 198 | { |
@@ -331,7 +331,7 @@ discard block |
||
331 | 331 | * |
332 | 332 | * @param \PDepend\Source\AST\ASTAllocationExpression $allocation |
333 | 333 | * |
334 | - * @return null|\PDepend\Source\AST\ASTAnonymousClass |
|
334 | + * @return null|ASTAllocationExpression |
|
335 | 335 | */ |
336 | 336 | protected function parseAnonymousClassDeclaration(ASTAllocationExpression $allocation) |
337 | 337 | { |
@@ -443,7 +443,7 @@ discard block |
||
443 | 443 | /** |
444 | 444 | * In this method we implement parsing of PHP 7.0 specific expressions. |
445 | 445 | * |
446 | - * @return \PDepend\Source\AST\ASTNode |
|
446 | + * @return ASTExpression|null |
|
447 | 447 | * @since 2.3 |
448 | 448 | */ |
449 | 449 | protected function parseExpressionVersion70() |
@@ -332,7 +332,7 @@ |
||
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 | { |