Fatal error: Uncaught TypeError: F(): Argument #3 must be of type Foo, Bar given, called in /in/usf2l on line 10 and defined in /in/usf2l:5
Stack trace:
#0 /in/usf2l(10): F(Object(Foo), Object(Foo), Object(Bar))
#1 {main}
thrown in /in/usf2l on line 5
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 3 passed to F() must be an instance of Foo, instance of Bar given, called in /in/usf2l on line 10 and defined in /in/usf2l:5
Stack trace:
#0 /in/usf2l(10): F(Object(Foo), Object(Foo), Object(Bar))
#1 {main}
thrown in /in/usf2l on line 5
Process exited with code 255.