Fatal error: Uncaught TypeError: Bar::__construct(): Argument #1 ($foo) must be of type Foo, null given, called in /in/PiMOE on line 15 and defined in /in/PiMOE:10
Stack trace:
#0 /in/PiMOE(15): Bar->__construct(NULL)
#1 {main}
thrown in /in/PiMOE on line 10
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to Bar::__construct() must be an instance of Foo, null given, called in /in/PiMOE on line 15 and defined in /in/PiMOE:10
Stack trace:
#0 /in/PiMOE(15): Bar->__construct(NULL)
#1 {main}
thrown in /in/PiMOE on line 10
Process exited with code 255.
Catchable fatal error: Argument 1 passed to Bar::__construct() must be an instance of Foo, null given, called in /in/PiMOE on line 15 and defined in /in/PiMOE on line 10
Process exited with code 255.