Fatal error: Uncaught TypeError: foo(): Argument #1 must be of type Bar, int given, called in /in/HhCTl on line 7 and defined in /in/HhCTl:5
Stack trace:
#0 /in/HhCTl(7): foo(1)
#1 {main}
thrown in /in/HhCTl on line 5
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of Bar, int given, called in /in/HhCTl on line 7 and defined in /in/HhCTl:5
Stack trace:
#0 /in/HhCTl(7): foo(1)
#1 {main}
thrown in /in/HhCTl on line 5
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of Bar, integer given, called in /in/HhCTl on line 7 and defined in /in/HhCTl:5
Stack trace:
#0 /in/HhCTl(7): foo(1)
#1 {main}
thrown in /in/HhCTl on line 5
Process exited with code 255.
Output for 5.6.7 - 5.6.28
Catchable fatal error: Argument 1 passed to foo() must be an instance of Bar, integer given, called in /in/HhCTl on line 7 and defined in /in/HhCTl on line 5
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.35
Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /in/HhCTl on line 5
Process exited with code 255.