[PHP] Remove unnecessary IF statement (#421)

* Delete unused IF statement

JSON_PRETTY_PRINT is available since PHP 5.4.0

* Update samples

- bin/php-petstore.sh
- bin/security/php-petstore.sh
- bin/openapi3/php-petstore.sh
This commit is contained in:
Akihito Nakano
2018-06-30 20:30:25 +09:00
committed by GitHub
parent e5a42ab277
commit 8e648e4d95
72 changed files with 269 additions and 529 deletions

View File

@@ -18,7 +18,7 @@
* OpenAPI spec version: 1.0.0 *_/ ' \" =end -- \\r\\n \\n \\r
* Contact: something@something.abc *_/ ' \" =end -- \\r\\n \\n \\r
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 3.0.0-SNAPSHOT
* OpenAPI Generator version: 3.1.0-SNAPSHOT
*/
/**
@@ -223,7 +223,7 @@ class ObjectSerializer
* @param string[] $httpHeaders HTTP headers
* @param string $discriminator discriminator if polymorphism is used
*
* @return object|array|null an single or an array of $class instances
* @return object|array|null a single or an array of $class instances
*/
public static function deserialize($data, $class, $httpHeaders = null)
{