<?php trait X{ function tryA(A $a){ $this->test($a); } abstract function test(A $a); } trait Y{ function tryB(B $b){ $this->test($b); } abstract function test(B $b); } class LOL{ use X, Y; function test(A $a){} } class A{} class B{} $x = new LOL; $x->tryA(new A); $x->tryB(new B);
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`