Fatal error: Uncaught TypeError: Foo::work(): Argument #1 ($m) must be of type Boo, int given, called in /in/VZhkg on line 17 and defined in /in/VZhkg:6
Stack trace:
#0 /in/VZhkg(17): Foo->work(1)
#1 {main}
thrown in /in/VZhkg on line 6
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::work() must be an instance of Boo, int given, called in /in/VZhkg on line 17 and defined in /in/VZhkg:6
Stack trace:
#0 /in/VZhkg(17): Foo->work(1)
#1 {main}
thrown in /in/VZhkg on line 6
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to Foo::work() must be an instance of Boo, integer given, called in /in/VZhkg on line 17 and defined in /in/VZhkg:6
Stack trace:
#0 /in/VZhkg(17): Foo->work(1)
#1 {main}
thrown in /in/VZhkg on line 6
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Argument 1 passed to Foo::work() must be an instance of Boo, integer given, called in /in/VZhkg on line 17 and defined' in /in/VZhkg:14
Stack trace:
#0 /in/VZhkg(6): {closure}(4096, 'Argument 1 pass...', '/in/VZhkg', 6, Array)
#1 /in/VZhkg(17): Foo->work(1)
#2 {main}
thrown in /in/VZhkg on line 14
Process exited with code 255.