@@ -47,7 +47,6 @@ |
||
47 | 47 | use PDepend\Metrics\AnalyzerNodeAware; |
48 | 48 | use PDepend\Metrics\AnalyzerProjectAware; |
49 | 49 | use PDepend\Source\AST\ASTArtifact; |
50 | -use PDepend\Source\AST\ASTArtifactList; |
|
51 | 50 | use PDepend\Source\AST\ASTClass; |
52 | 51 | |
53 | 52 | /** |
@@ -142,7 +142,7 @@ |
||
142 | 142 | * Adds an analyzer to log. If this logger accepts the given analyzer it |
143 | 143 | * with return <b>true</b>, otherwise the return value is <b>false</b>. |
144 | 144 | * |
145 | - * @param \PDepend\dependencies\Analyzer $analyzer The analyzer to log. |
|
145 | + * @param Analyzer $analyzer The analyzer to log. |
|
146 | 146 | * @return boolean |
147 | 147 | */ |
148 | 148 | public function log(Analyzer $analyzer) |
@@ -54,7 +54,6 @@ |
||
54 | 54 | use PDepend\Source\AST\ASTCompilationUnit; |
55 | 55 | use PDepend\Source\AST\ASTFunction; |
56 | 56 | use PDepend\Source\AST\ASTInterface; |
57 | -use PDepend\Source\AST\ASTMethod; |
|
58 | 57 | use PDepend\Source\AST\ASTNamespace; |
59 | 58 | use PDepend\Source\AST\ASTTrait; |
60 | 59 | use PDepend\Source\ASTVisitor\AbstractASTVisitor; |
@@ -73,7 +73,7 @@ |
||
73 | 73 | * Returns an <b>array</b> with accepted analyzer types. These types can be |
74 | 74 | * concrete analyzer classes or one of the descriptive analyzer interfaces. |
75 | 75 | * |
76 | - * @return array(string) |
|
76 | + * @return string[] |
|
77 | 77 | */ |
78 | 78 | public function getAcceptedAnalyzers(); |
79 | 79 | } |
@@ -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() |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | /** |
157 | 157 | * Returns a node iterator with all implemented interfaces. |
158 | 158 | * |
159 | - * @return \PDepend\Source\AST\ASTInterface[] |
|
159 | + * @return ASTArtifactList |
|
160 | 160 | * @since 0.9.5 |
161 | 161 | */ |
162 | 162 | public function getInterfaces() |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | /** |
184 | 184 | * Returns an array of references onto the interfaces of this class node. |
185 | 185 | * |
186 | - * @return array |
|
186 | + * @return ASTClassOrInterfaceReference[] |
|
187 | 187 | * @since 0.10.4 |
188 | 188 | */ |
189 | 189 | public function getInterfaceReferences() |
@@ -288,7 +288,7 @@ discard block |
||
288 | 288 | * Returns all {@link \PDepend\Source\AST\AbstractASTClassOrInterface} |
289 | 289 | * objects this type depends on. |
290 | 290 | * |
291 | - * @return \PDepend\Source\AST\AbstractASTClassOrInterface[] |
|
291 | + * @return ASTClassOrInterfaceReferenceIterator |
|
292 | 292 | */ |
293 | 293 | public function getDependencies() |
294 | 294 | { |
@@ -354,7 +354,7 @@ discard block |
||
354 | 354 | * names of all those properties that should be cached for this class or |
355 | 355 | * interface instance. |
356 | 356 | * |
357 | - * @return array |
|
357 | + * @return string[] |
|
358 | 358 | * @since 0.10.0 |
359 | 359 | */ |
360 | 360 | public function __sleep() |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | /** |
268 | 268 | * Returns all {@link \PDepend\Source\AST\ASTMethod} objects in this type. |
269 | 269 | * |
270 | - * @return \PDepend\Source\AST\ASTMethod[] |
|
270 | + * @return ASTArtifactList |
|
271 | 271 | */ |
272 | 272 | public function getMethods() |
273 | 273 | { |
@@ -453,7 +453,7 @@ discard block |
||
453 | 453 | * names of all those properties that should be cached for this class or |
454 | 454 | * interface instance. |
455 | 455 | * |
456 | - * @return array |
|
456 | + * @return string[] |
|
457 | 457 | */ |
458 | 458 | public function __sleep() |
459 | 459 | { |
@@ -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) |