@@ -172,6 +172,7 @@ |
||
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | /** |
| 175 | + * @param string $serviceTag |
|
| 175 | 176 | * @return array(string => string) |
| 176 | 177 | */ |
| 177 | 178 | private function getAvailableOptionsFor($serviceTag) |
@@ -310,7 +310,7 @@ |
||
| 310 | 310 | * Analyzes the registered directories and returns the collection of |
| 311 | 311 | * analyzed namespace. |
| 312 | 312 | * |
| 313 | - * @return \PDepend\Source\AST\ASTNamespace[] |
|
| 313 | + * @return Source\AST\ASTArtifactList |
|
| 314 | 314 | */ |
| 315 | 315 | public function analyze() |
| 316 | 316 | { |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | * This method must return an <b>array</b> of class names for required |
| 56 | 56 | * analyzers. |
| 57 | 57 | * |
| 58 | - * @return array(string) |
|
| 58 | + * @return string[] |
|
| 59 | 59 | */ |
| 60 | 60 | public function getRequiredAnalyzers(); |
| 61 | 61 | |
@@ -57,6 +57,7 @@ discard block |
||
| 57 | 57 | * |
| 58 | 58 | * @param array(string=>mixed) $options Global option array, every analyzer |
| 59 | 59 | * can extract the required options. |
| 60 | + * @return void |
|
| 60 | 61 | */ |
| 61 | 62 | public function __construct(array $options = array()); |
| 62 | 63 | |
@@ -91,6 +92,7 @@ discard block |
||
| 91 | 92 | * |
| 92 | 93 | * @param array(string=>mixed) $options |
| 93 | 94 | * @since 2.0.1 |
| 95 | + * @return void |
|
| 94 | 96 | */ |
| 95 | 97 | public function setOptions(array $options = array()); |
| 96 | 98 | } |
@@ -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) |
@@ -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 | { |