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