Fatal error: Uncaught TypeError: Concrete\Test\Test::__construct(): Argument #1 ($foo) must be of type DerpFoo, Concrete\BetterFoo\BetterFoo given, called in /in/RU5eQ on line 9 and defined in /in/RU5eQ:6
Stack trace:
#0 /in/RU5eQ(9): Concrete\Test\Test->__construct(Object(Concrete\BetterFoo\BetterFoo))
#1 {main}
thrown in /in/RU5eQ on line 6
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to Concrete\Test\Test::__construct() must be an instance of DerpFoo, instance of Concrete\BetterFoo\BetterFoo given, called in /in/RU5eQ on line 9 and defined in /in/RU5eQ:6
Stack trace:
#0 /in/RU5eQ(9): Concrete\Test\Test->__construct(Object(Concrete\BetterFoo\BetterFoo))
#1 {main}
thrown in /in/RU5eQ on line 6
Process exited with code 255.
Catchable fatal error: Argument 1 passed to Concrete\Test\Test::__construct() must be an instance of DerpFoo, instance of Concrete\BetterFoo\BetterFoo given, called in /in/RU5eQ on line 9 and defined in /in/RU5eQ on line 6
Process exited with code 255.