Fatal error: Uncaught TypeError: f(): Argument #1 ($x) must be of type Foo, null given, called in /in/HjE2b on line 11 and defined in /in/HjE2b:7
Stack trace:
#0 /in/HjE2b(11): f(NULL)
#1 {main}
thrown in /in/HjE2b on line 7
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to f() must implement interface Foo, null given, called in /in/HjE2b on line 11 and defined in /in/HjE2b:7
Stack trace:
#0 /in/HjE2b(11): f(NULL)
#1 {main}
thrown in /in/HjE2b on line 7
Process exited with code 255.
Catchable fatal error: Argument 1 passed to f() must implement interface Foo, null given, called in /in/HjE2b on line 11 and defined in /in/HjE2b on line 7
Process exited with code 255.