parser/tests/0217/code.php

10 lines
109 B
PHP
Raw Normal View History

2022-12-03 20:31:10 +01:00
<?php
class s {}
class foo extends s {
public function bar(): parent {
return new s();
}
}