@@ -48,7 +48,6 @@ |
||
48 | 48 | use PDepend\Metrics\AnalyzerNodeAware; |
49 | 49 | use PDepend\Source\AST\AbstractASTType; |
50 | 50 | use PDepend\Source\AST\ASTArtifact; |
51 | -use PDepend\Source\AST\ASTArtifactList; |
|
52 | 51 | use PDepend\Source\AST\ASTClass; |
53 | 52 | use PDepend\Source\AST\ASTInterface; |
54 | 53 | use PDepend\Source\AST\ASTMethod; |
@@ -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 | { |
@@ -46,7 +46,6 @@ |
||
46 | 46 | use PDepend\Metrics\Analyzer\CodeRankAnalyzer\StrategyFactory; |
47 | 47 | use PDepend\Metrics\AnalyzerNodeAware; |
48 | 48 | use PDepend\Source\AST\ASTArtifact; |
49 | -use PDepend\Source\AST\ASTArtifactList; |
|
50 | 49 | |
51 | 50 | /** |
52 | 51 | * Calculates the code rank metric for classes and namespaces. |
@@ -45,7 +45,6 @@ |
||
45 | 45 | use PDepend\Metrics\AbstractAnalyzer; |
46 | 46 | use PDepend\Metrics\AnalyzerNodeAware; |
47 | 47 | use PDepend\Source\AST\ASTArtifact; |
48 | -use PDepend\Source\AST\ASTArtifactList; |
|
49 | 48 | |
50 | 49 | /** |
51 | 50 | * This analyzer implements several metrics that describe cohesion of classes |
@@ -48,7 +48,6 @@ |
||
48 | 48 | use PDepend\Source\AST\AbstractASTCallable; |
49 | 49 | use PDepend\Source\AST\AbstractASTType; |
50 | 50 | use PDepend\Source\AST\ASTArtifact; |
51 | -use PDepend\Source\AST\ASTArtifactList; |
|
52 | 51 | use PDepend\Source\AST\ASTClass; |
53 | 52 | use PDepend\Source\AST\ASTFunction; |
54 | 53 | use PDepend\Source\AST\ASTInterface; |
@@ -47,7 +47,6 @@ |
||
47 | 47 | use PDepend\Metrics\AnalyzerProjectAware; |
48 | 48 | use PDepend\Source\AST\AbstractASTCallable; |
49 | 49 | use PDepend\Source\AST\ASTArtifact; |
50 | -use PDepend\Source\AST\ASTArtifactList; |
|
51 | 50 | use PDepend\Source\AST\ASTFunction; |
52 | 51 | use PDepend\Source\AST\ASTInterface; |
53 | 52 | use PDepend\Source\AST\ASTMethod; |
@@ -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 | use PDepend\Source\AST\ASTFunction; |
53 | 52 | use PDepend\Source\AST\ASTInterface; |
@@ -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 | /** |
@@ -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; |
@@ -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 | { |
@@ -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() |