Fatal error: Uncaught TypeError: NS4\foo(): Argument #1 ($f) must be of type A, NS3\MyClass given, called in /in/82ZD3 on line 27 and defined in /in/82ZD3:23
Stack trace:
#0 /in/82ZD3(27): NS4\foo(Object(NS3\MyClass))
#1 {main}
thrown in /in/82ZD3 on line 23
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to NS4\foo() must be an instance of A, instance of NS3\MyClass given, called in /in/82ZD3 on line 27 and defined in /in/82ZD3:23
Stack trace:
#0 /in/82ZD3(27): NS4\foo(Object(NS3\MyClass))
#1 {main}
thrown in /in/82ZD3 on line 23
Process exited with code 255.
Catchable fatal error: Argument 1 passed to NS4\foo() must be an instance of A, instance of NS3\MyClass given, called in /in/82ZD3 on line 27 and defined in /in/82ZD3 on line 23
Process exited with code 255.