Warning: Class "DerpFoo" not found in /in/r5VqM on line 18
Fatal error: Uncaught TypeError: herp\Derp::__construct(): Argument #1 ($foo) must be of type herp\DerpFoo, herp\BetterFoo given, called in /in/r5VqM on line 20 and defined in /in/r5VqM:14
Stack trace:
#0 /in/r5VqM(20): herp\Derp->__construct(Object(herp\BetterFoo))
#1 {main}
thrown in /in/r5VqM on line 14
Process exited with code 255.
Warning: Class 'DerpFoo' not found in /in/r5VqM on line 18
Fatal error: Uncaught TypeError: Argument 1 passed to herp\Derp::__construct() must be an instance of herp\DerpFoo, instance of herp\BetterFoo given, called in /in/r5VqM on line 20 and defined in /in/r5VqM:14
Stack trace:
#0 /in/r5VqM(20): herp\Derp->__construct(Object(herp\BetterFoo))
#1 {main}
thrown in /in/r5VqM on line 14
Process exited with code 255.
Warning: Class 'DerpFoo' not found in /in/r5VqM on line 18
Catchable fatal error: Argument 1 passed to herp\Derp::__construct() must be an instance of herp\DerpFoo, instance of herp\BetterFoo given, called in /in/r5VqM on line 20 and defined in /in/r5VqM on line 14
Process exited with code 255.