mirror of
https://github.com/danog/parser.git
synced 2024-12-14 18:14:52 +01:00
479f51913c
Signed-off-by: azjezz <azjezz@protonmail.com>
10 lines
109 B
PHP
10 lines
109 B
PHP
<?php
|
|
|
|
class s {}
|
|
|
|
class foo extends s {
|
|
public function bar(): parent {
|
|
return new s();
|
|
}
|
|
}
|