!!!Argument 1 passed to Foo::bar() must be of the type boolean, object given, called in /in/XhMQY on line 13!!!
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.38
Catchable fatal error: Argument 1 passed to Foo::bar() must be an instance of bool, instance of stdClass given, called in /in/XhMQY on line 13 and defined in /in/XhMQY on line 5
Process exited with code 255.