<?php interface Test { public function check(Test $x); } //this is ok: class Foo implements Test { public function check(Test $x) {} } class Bar implements Test { public function check(Foo $x) {} } //this is fail, but why? Bar implements Test, so.. logically it fulfills contract.. class Baz implements Test { public function check(Baz $x) {} }
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`