@@ -947,7 +947,7 @@ discard block |
||
947 | 947 | * method. |
948 | 948 | * |
949 | 949 | * @param integer $modifiers |
950 | - * @return \PDepend\Source\AST\ASTMethod|\PDepend\Source\AST\ASTFieldDeclaration |
|
950 | + * @return ASTNode |
|
951 | 951 | * @since 0.9.6 |
952 | 952 | */ |
953 | 953 | protected function parseMethodOrFieldDeclaration($modifiers = 0) |
@@ -2684,7 +2684,7 @@ discard block |
||
2684 | 2684 | * This method optionally parses an expression node and returns it. When no |
2685 | 2685 | * expression was found this method will return <b>null</b>. |
2686 | 2686 | * |
2687 | - * @return \PDepend\Source\AST\ASTNode|null |
|
2687 | + * @return null|ASTExpression |
|
2688 | 2688 | * @throws \PDepend\Source\Parser\ParserException |
2689 | 2689 | * @since 0.9.6 |
2690 | 2690 | */ |
@@ -3509,7 +3509,7 @@ discard block |
||
3509 | 3509 | * ------------------------ |
3510 | 3510 | * </code> |
3511 | 3511 | * |
3512 | - * @return \PDepend\Source\AST\ASTForInit|null |
|
3512 | + * @return null|ASTNode |
|
3513 | 3513 | * @since 0.9.8 |
3514 | 3514 | */ |
3515 | 3515 | private function parseForInit() |
@@ -3548,7 +3548,7 @@ discard block |
||
3548 | 3548 | * ------------------------------- |
3549 | 3549 | * </code> |
3550 | 3550 | * |
3551 | - * @return \PDepend\Source\AST\ASTForUpdate|null |
|
3551 | + * @return null|ASTNode |
|
3552 | 3552 | * @since 0.9.12 |
3553 | 3553 | */ |
3554 | 3554 | private function parseForUpdate() |
@@ -4301,7 +4301,7 @@ discard block |
||
4301 | 4301 | /** |
4302 | 4302 | * Parses a full qualified class name postfix. |
4303 | 4303 | * |
4304 | - * @return \PDepend\Source\AST\ASTClassFqnPostfix |
|
4304 | + * @return ASTNode |
|
4305 | 4305 | * @since 2.0.0 |
4306 | 4306 | */ |
4307 | 4307 | protected function parseFullQualifiedClassNamePostfix() |
@@ -5725,7 +5725,7 @@ discard block |
||
5725 | 5725 | /** |
5726 | 5726 | * Parses a type hint that is valid in the supported PHP version. |
5727 | 5727 | * |
5728 | - * @return \PDepend\Source\AST\ASTNode|null |
|
5728 | + * @return \PDepend\Source\AST\ASTClassOrInterfaceReference|null |
|
5729 | 5729 | * @since 1.0.0 |
5730 | 5730 | */ |
5731 | 5731 | protected function parseTypeHint() |
@@ -5793,7 +5793,7 @@ discard block |
||
5793 | 5793 | /** |
5794 | 5794 | * Parses an optional statement or returns <b>null</b>. |
5795 | 5795 | * |
5796 | - * @return \PDepend\Source\AST\ASTNode|null |
|
5796 | + * @return ASTNode |
|
5797 | 5797 | * @since 0.9.8 |
5798 | 5798 | */ |
5799 | 5799 | private function parseOptionalStatement() |
@@ -6744,7 +6744,7 @@ discard block |
||
6744 | 6744 | /** |
6745 | 6745 | * Parses fn operator of lambda function for syntax fn() => available since PHP 7.4. |
6746 | 6746 | * |
6747 | - * @return \PDepend\Source\AST\ASTValue |
|
6747 | + * @return ASTNode |
|
6748 | 6748 | * @throws \PDepend\Source\Parser\UnexpectedTokenException |
6749 | 6749 | */ |
6750 | 6750 | protected function parseLambdaFunctionDeclaration() |
@@ -6946,7 +6946,7 @@ discard block |
||
6946 | 6946 | * doc comment information. The returned value will be <b>null</b> when no |
6947 | 6947 | * type information exists. |
6948 | 6948 | * |
6949 | - * @return \PDepend\Source\AST\ASTType|null |
|
6949 | + * @return ASTNode |
|
6950 | 6950 | * @since 0.9.6 |
6951 | 6951 | */ |
6952 | 6952 | private function parseFieldDeclarationType() |