Fatal error: Uncaught TypeError: hint_on_bar(): Argument #1 ($bar) must be of type Bar, Foo given, called in /in/7nn9U on line 39 and defined in /in/7nn9U:29
Stack trace:
#0 /in/7nn9U(39): hint_on_bar(Object(Foo))
#1 {main}
thrown in /in/7nn9U on line 29
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to hint_on_bar() must be an instance of Bar, instance of Foo given, called in /in/7nn9U on line 39 and defined in /in/7nn9U:29
Stack trace:
#0 /in/7nn9U(39): hint_on_bar(Object(Foo))
#1 {main}
thrown in /in/7nn9U on line 29
Process exited with code 255.
Output for 7.1.10
Process exited with code 137.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Catchable fatal error: Argument 1 passed to hint_on_bar() must be an instance of Bar, instance of Foo given, called in /in/7nn9U on line 39 and defined in /in/7nn9U on line 29
Process exited with code 255.