| Current Path : /var/www/html/edd.sumar.com.py/vendor/nikic/php-parser/test/code/parser/stmt/class/ |
| Current File : /var/www/html/edd.sumar.com.py/vendor/nikic/php-parser/test/code/parser/stmt/class/staticType.test |
Static return type
-----
<?php
class Test {
public static function create(): static {}
}
-----
array(
0: Stmt_Class(
attrGroups: array(
)
flags: 0
name: Identifier(
name: Test
)
extends: null
implements: array(
)
stmts: array(
0: Stmt_ClassMethod(
attrGroups: array(
)
flags: PUBLIC | STATIC (9)
byRef: false
name: Identifier(
name: create
)
params: array(
)
returnType: Name(
name: static
)
stmts: array(
)
)
)
)
)