bool(true)
bool(true)
bool(false)
Fatal error: Uncaught TypeError: testTrait(): Argument #1 ($container) must be of type SomeSerializableTrait, SomeOtherContainer given, called in /in/4dN3n on line 29 and defined in /in/4dN3n:26
Stack trace:
#0 /in/4dN3n(29): testTrait(Object(SomeOtherContainer))
#1 {main}
thrown in /in/4dN3n on line 26
Process exited with code 255.
bool(true)
bool(true)
bool(false)
Fatal error: Uncaught TypeError: Argument 1 passed to testTrait() must be an instance of SomeSerializableTrait, instance of SomeOtherContainer given, called in /in/4dN3n on line 29 and defined in /in/4dN3n:26
Stack trace:
#0 /in/4dN3n(29): testTrait(Object(SomeOtherContainer))
#1 {main}
thrown in /in/4dN3n on line 26
Process exited with code 255.
bool(true)
bool(true)
bool(false)
Catchable fatal error: Argument 1 passed to testTrait() must be an instance of SomeSerializableTrait, instance of SomeOtherContainer given, called in /in/4dN3n on line 29 and defined in /in/4dN3n on line 26
Process exited with code 255.