interface foo { public function bar(): parent; }