blob: 5e276eb17df50e58cb4fd21bfdf1599d3a94455d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--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===
|