forked from loafle/openapi-generator-original
* Update ObjectSerializer.mustache If the $data is a wrongly formatted Json or if data is not an array, php gives error: Invalid argument supplied for foreach() at line 257 (Now line is 262) * update samples Co-authored-by: William Cheng <wing328hk@gmail.com>