<?php
class faz {}
class baz extends faz {}
interface foo {
public function do(faz $param);
}
class boo implements foo {
public function doit(baz $param) {
echo false;
}
}
$test = new boo();
$test->doit(new baz());
Fatal error: Class boo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (foo::do) in /in/ABBGg on line 11
Process exited with code 255.