24 lines
368 B
PHP
24 lines
368 B
PHP
--TEST--
|
|
Abstract private trait method forwarded as abstract protected method
|
|
--FILE--
|
|
<?php
|
|
|
|
trait T {
|
|
abstract private function method(int $a, string $b);
|
|
}
|
|
|
|
abstract class C {
|
|
use T;
|
|
|
|
abstract protected function method(int $a, string $b);
|
|
}
|
|
|
|
class D extends C {
|
|
protected function method(int $a, string $b) {}
|
|
}
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
===DONE===
|