Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: $this->methodreturn can be array (#99)
In function serialize_return, $this->methodreturn can be an array, resulting in "PHP Warning: get_class() expects parameter 1 to be object, array given" Above code change fixes this by checking for object. However, without knowing the complete flow, I am unsure if there is an underlying issue which assigns incorrect type to $this->methodreturn.
- Loading branch information