@@ -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 | { |
@@ -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 | { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | /** |
78 | 78 | * Returns the parent class or <b>null</b> if this class has no parent. |
79 | 79 | * |
80 | - * @return \PDepend\Source\AST\ASTClass|null |
|
80 | + * @return null|AbstractASTClassOrInterface |
|
81 | 81 | * @throws \PDepend\Source\AST\ASTClassOrInterfaceRecursiveInheritanceException |
82 | 82 | */ |
83 | 83 | public function getParentClass() |
@@ -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() |
@@ -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() |
@@ -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() |
@@ -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() |
@@ -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() |
@@ -1829,7 +1829,7 @@ discard block |
||
1829 | 1829 | * Returns an iterator with all generated {@link \PDepend\Source\AST\ASTNamespace} |
1830 | 1830 | * objects. |
1831 | 1831 | * |
1832 | - * @return \PDepend\Source\AST\ASTNamespace[] |
|
1832 | + * @return ASTArtifactList |
|
1833 | 1833 | */ |
1834 | 1834 | public function getNamespaces() |
1835 | 1835 | { |
@@ -1843,7 +1843,7 @@ discard block |
||
1843 | 1843 | * Returns an iterator with all generated {@link \PDepend\Source\AST\ASTNamespace} |
1844 | 1844 | * objects. |
1845 | 1845 | * |
1846 | - * @return \PDepend\Source\AST\ASTArtifactList |
|
1846 | + * @return ASTNamespace[] |
|
1847 | 1847 | * @since 0.9.12 |
1848 | 1848 | */ |
1849 | 1849 | private function getPreparedNamespaces() |
@@ -1908,7 +1908,7 @@ discard block |
||
1908 | 1908 | * matching instance or <b>null</b> if no match exists. |
1909 | 1909 | * |
1910 | 1910 | * @param string $qualifiedName |
1911 | - * @return \PDepend\Source\AST\ASTTrait|null |
|
1911 | + * @return \PDepend\Source\AST\AbstractASTType|null |
|
1912 | 1912 | * @since 0.9.5 |
1913 | 1913 | */ |
1914 | 1914 | protected function findTrait($qualifiedName) |
@@ -1980,7 +1980,7 @@ discard block |
||
1980 | 1980 | * matching instance or <b>null</b> if no match exists. |
1981 | 1981 | * |
1982 | 1982 | * @param string $qualifiedName |
1983 | - * @return \PDepend\Source\AST\ASTInterface|null |
|
1983 | + * @return \PDepend\Source\AST\AbstractASTType|null |
|
1984 | 1984 | * @since 0.9.5 |
1985 | 1985 | */ |
1986 | 1986 | protected function findInterface($qualifiedName) |
@@ -2049,7 +2049,7 @@ discard block |
||
2049 | 2049 | * matching instance or <b>null</b> if no match exists. |
2050 | 2050 | * |
2051 | 2051 | * @param string $qualifiedName |
2052 | - * @return \PDepend\Source\AST\ASTClass|null |
|
2052 | + * @return \PDepend\Source\AST\AbstractASTType|null |
|
2053 | 2053 | * @since 0.9.5 |
2054 | 2054 | */ |
2055 | 2055 | protected function findClass($qualifiedName) |
@@ -172,6 +172,7 @@ |
||
172 | 172 | } |
173 | 173 | |
174 | 174 | /** |
175 | + * @param string $serviceTag |
|
175 | 176 | * @return array<string, array> |
176 | 177 | */ |
177 | 178 | private function getAvailableOptionsFor($serviceTag) |