Fatal error: Uncaught TypeError: foo(): Argument #1 ($f) must be of type Foo, int given, called in /in/eaIW8 on line 4 and defined in /in/eaIW8:3
Stack trace:
#0 /in/eaIW8(4): foo(1)
#1 {main}
thrown in /in/eaIW8 on line 3
Process exited with code 255.
Output for 7.3.16 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of Foo, int given, called in /in/eaIW8 on line 4 and defined in /in/eaIW8:3
Stack trace:
#0 /in/eaIW8(4): foo(1)
#1 {main}
thrown in /in/eaIW8 on line 3
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of Foo, integer given, called in /in/eaIW8 on line 4 and defined in /in/eaIW8:3
Stack trace:
#0 /in/eaIW8(4): foo(1)
#1 {main}
thrown in /in/eaIW8 on line 3
Process exited with code 255.