6 public function foo(this
::T
$t): void
;
9 class Incompat
implements I
{
12 // If an interface parameter is defined in terms of a type constant then we
13 // require implementers to provide a type hint
14 public function foo($t): void
{}
18 function main(): void
{