diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/AdditionalPropertiesClass.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/AdditionalPropertiesClass.php index c35728944e7..8fb2d59f092 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/AdditionalPropertiesClass.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/AdditionalPropertiesClass.php @@ -213,7 +213,7 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess /** * Gets map_property * - * @return map[string,string] + * @return map[string,string]|null */ public function getMapProperty() { @@ -223,7 +223,7 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess /** * Sets map_property * - * @param map[string,string] $map_property map_property + * @param map[string,string]|null $map_property map_property * * @return $this */ @@ -237,7 +237,7 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess /** * Gets map_of_map_property * - * @return map[string,map[string,string]] + * @return map[string,map[string,string]]|null */ public function getMapOfMapProperty() { @@ -247,7 +247,7 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess /** * Sets map_of_map_property * - * @param map[string,map[string,string]] $map_of_map_property map_of_map_property + * @param map[string,map[string,string]]|null $map_of_map_property map_of_map_property * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Animal.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Animal.php index 6574a08fd6f..5c82c51cc1f 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Animal.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Animal.php @@ -244,7 +244,7 @@ class Animal implements ModelInterface, ArrayAccess /** * Gets color * - * @return string + * @return string|null */ public function getColor() { @@ -254,7 +254,7 @@ class Animal implements ModelInterface, ArrayAccess /** * Sets color * - * @param string $color color + * @param string|null $color color * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ApiResponse.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ApiResponse.php index 571d4983244..d2a83677d50 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ApiResponse.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ApiResponse.php @@ -219,7 +219,7 @@ class ApiResponse implements ModelInterface, ArrayAccess /** * Gets code * - * @return int + * @return int|null */ public function getCode() { @@ -229,7 +229,7 @@ class ApiResponse implements ModelInterface, ArrayAccess /** * Sets code * - * @param int $code code + * @param int|null $code code * * @return $this */ @@ -243,7 +243,7 @@ class ApiResponse implements ModelInterface, ArrayAccess /** * Gets type * - * @return string + * @return string|null */ public function getType() { @@ -253,7 +253,7 @@ class ApiResponse implements ModelInterface, ArrayAccess /** * Sets type * - * @param string $type type + * @param string|null $type type * * @return $this */ @@ -267,7 +267,7 @@ class ApiResponse implements ModelInterface, ArrayAccess /** * Gets message * - * @return string + * @return string|null */ public function getMessage() { @@ -277,7 +277,7 @@ class ApiResponse implements ModelInterface, ArrayAccess /** * Sets message * - * @param string $message message + * @param string|null $message message * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfArrayOfNumberOnly.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfArrayOfNumberOnly.php index 20f5c0be4f1..8d2ca159745 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfArrayOfNumberOnly.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfArrayOfNumberOnly.php @@ -207,7 +207,7 @@ class ArrayOfArrayOfNumberOnly implements ModelInterface, ArrayAccess /** * Gets array_array_number * - * @return float[][] + * @return float[][]|null */ public function getArrayArrayNumber() { @@ -217,7 +217,7 @@ class ArrayOfArrayOfNumberOnly implements ModelInterface, ArrayAccess /** * Sets array_array_number * - * @param float[][] $array_array_number array_array_number + * @param float[][]|null $array_array_number array_array_number * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfNumberOnly.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfNumberOnly.php index ba5dd085926..7a363f517a0 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfNumberOnly.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfNumberOnly.php @@ -207,7 +207,7 @@ class ArrayOfNumberOnly implements ModelInterface, ArrayAccess /** * Gets array_number * - * @return float[] + * @return float[]|null */ public function getArrayNumber() { @@ -217,7 +217,7 @@ class ArrayOfNumberOnly implements ModelInterface, ArrayAccess /** * Sets array_number * - * @param float[] $array_number array_number + * @param float[]|null $array_number array_number * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayTest.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayTest.php index 4d88a5f484e..6dd7650e2f9 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayTest.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayTest.php @@ -219,7 +219,7 @@ class ArrayTest implements ModelInterface, ArrayAccess /** * Gets array_of_string * - * @return string[] + * @return string[]|null */ public function getArrayOfString() { @@ -229,7 +229,7 @@ class ArrayTest implements ModelInterface, ArrayAccess /** * Sets array_of_string * - * @param string[] $array_of_string array_of_string + * @param string[]|null $array_of_string array_of_string * * @return $this */ @@ -243,7 +243,7 @@ class ArrayTest implements ModelInterface, ArrayAccess /** * Gets array_array_of_integer * - * @return int[][] + * @return int[][]|null */ public function getArrayArrayOfInteger() { @@ -253,7 +253,7 @@ class ArrayTest implements ModelInterface, ArrayAccess /** * Sets array_array_of_integer * - * @param int[][] $array_array_of_integer array_array_of_integer + * @param int[][]|null $array_array_of_integer array_array_of_integer * * @return $this */ @@ -267,7 +267,7 @@ class ArrayTest implements ModelInterface, ArrayAccess /** * Gets array_array_of_model * - * @return \OpenAPI\Client\Model\ReadOnlyFirst[][] + * @return \OpenAPI\Client\Model\ReadOnlyFirst[][]|null */ public function getArrayArrayOfModel() { @@ -277,7 +277,7 @@ class ArrayTest implements ModelInterface, ArrayAccess /** * Sets array_array_of_model * - * @param \OpenAPI\Client\Model\ReadOnlyFirst[][] $array_array_of_model array_array_of_model + * @param \OpenAPI\Client\Model\ReadOnlyFirst[][]|null $array_array_of_model array_array_of_model * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Capitalization.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Capitalization.php index 165c41fcc8b..d3683a11a95 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Capitalization.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Capitalization.php @@ -237,7 +237,7 @@ class Capitalization implements ModelInterface, ArrayAccess /** * Gets small_camel * - * @return string + * @return string|null */ public function getSmallCamel() { @@ -247,7 +247,7 @@ class Capitalization implements ModelInterface, ArrayAccess /** * Sets small_camel * - * @param string $small_camel small_camel + * @param string|null $small_camel small_camel * * @return $this */ @@ -261,7 +261,7 @@ class Capitalization implements ModelInterface, ArrayAccess /** * Gets capital_camel * - * @return string + * @return string|null */ public function getCapitalCamel() { @@ -271,7 +271,7 @@ class Capitalization implements ModelInterface, ArrayAccess /** * Sets capital_camel * - * @param string $capital_camel capital_camel + * @param string|null $capital_camel capital_camel * * @return $this */ @@ -285,7 +285,7 @@ class Capitalization implements ModelInterface, ArrayAccess /** * Gets small_snake * - * @return string + * @return string|null */ public function getSmallSnake() { @@ -295,7 +295,7 @@ class Capitalization implements ModelInterface, ArrayAccess /** * Sets small_snake * - * @param string $small_snake small_snake + * @param string|null $small_snake small_snake * * @return $this */ @@ -309,7 +309,7 @@ class Capitalization implements ModelInterface, ArrayAccess /** * Gets capital_snake * - * @return string + * @return string|null */ public function getCapitalSnake() { @@ -319,7 +319,7 @@ class Capitalization implements ModelInterface, ArrayAccess /** * Sets capital_snake * - * @param string $capital_snake capital_snake + * @param string|null $capital_snake capital_snake * * @return $this */ @@ -333,7 +333,7 @@ class Capitalization implements ModelInterface, ArrayAccess /** * Gets sca_eth_flow_points * - * @return string + * @return string|null */ public function getScaEthFlowPoints() { @@ -343,7 +343,7 @@ class Capitalization implements ModelInterface, ArrayAccess /** * Sets sca_eth_flow_points * - * @param string $sca_eth_flow_points sca_eth_flow_points + * @param string|null $sca_eth_flow_points sca_eth_flow_points * * @return $this */ @@ -357,7 +357,7 @@ class Capitalization implements ModelInterface, ArrayAccess /** * Gets att_name * - * @return string + * @return string|null */ public function getAttName() { @@ -367,7 +367,7 @@ class Capitalization implements ModelInterface, ArrayAccess /** * Sets att_name * - * @param string $att_name Name of the pet + * @param string|null $att_name Name of the pet * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Cat.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Cat.php index 24d015d48e0..04990a72837 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Cat.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Cat.php @@ -201,7 +201,7 @@ class Cat extends Animal /** * Gets declawed * - * @return bool + * @return bool|null */ public function getDeclawed() { @@ -211,7 +211,7 @@ class Cat extends Animal /** * Sets declawed * - * @param bool $declawed declawed + * @param bool|null $declawed declawed * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Category.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Category.php index 976e578c1e5..dfd2a352e7d 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Category.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Category.php @@ -213,7 +213,7 @@ class Category implements ModelInterface, ArrayAccess /** * Gets id * - * @return int + * @return int|null */ public function getId() { @@ -223,7 +223,7 @@ class Category implements ModelInterface, ArrayAccess /** * Sets id * - * @param int $id id + * @param int|null $id id * * @return $this */ @@ -237,7 +237,7 @@ class Category implements ModelInterface, ArrayAccess /** * Gets name * - * @return string + * @return string|null */ public function getName() { @@ -247,7 +247,7 @@ class Category implements ModelInterface, ArrayAccess /** * Sets name * - * @param string $name name + * @param string|null $name name * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ClassModel.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ClassModel.php index b6525b02054..605e1fdabd0 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ClassModel.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ClassModel.php @@ -208,7 +208,7 @@ class ClassModel implements ModelInterface, ArrayAccess /** * Gets _class * - * @return string + * @return string|null */ public function getClass() { @@ -218,7 +218,7 @@ class ClassModel implements ModelInterface, ArrayAccess /** * Sets _class * - * @param string $_class _class + * @param string|null $_class _class * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Client.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Client.php index 43be0f8a5ec..ab67e36c59d 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Client.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Client.php @@ -207,7 +207,7 @@ class Client implements ModelInterface, ArrayAccess /** * Gets client * - * @return string + * @return string|null */ public function getClient() { @@ -217,7 +217,7 @@ class Client implements ModelInterface, ArrayAccess /** * Sets client * - * @param string $client client + * @param string|null $client client * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Dog.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Dog.php index c849f2e75b8..3f5b8210f1e 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Dog.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Dog.php @@ -201,7 +201,7 @@ class Dog extends Animal /** * Gets breed * - * @return string + * @return string|null */ public function getBreed() { @@ -211,7 +211,7 @@ class Dog extends Animal /** * Sets breed * - * @param string $breed breed + * @param string|null $breed breed * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/EnumArrays.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/EnumArrays.php index 98985fbc9e8..4111763a693 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/EnumArrays.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/EnumArrays.php @@ -251,7 +251,7 @@ class EnumArrays implements ModelInterface, ArrayAccess /** * Gets just_symbol * - * @return string + * @return string|null */ public function getJustSymbol() { @@ -261,7 +261,7 @@ class EnumArrays implements ModelInterface, ArrayAccess /** * Sets just_symbol * - * @param string $just_symbol just_symbol + * @param string|null $just_symbol just_symbol * * @return $this */ @@ -284,7 +284,7 @@ class EnumArrays implements ModelInterface, ArrayAccess /** * Gets array_enum * - * @return string[] + * @return string[]|null */ public function getArrayEnum() { @@ -294,7 +294,7 @@ class EnumArrays implements ModelInterface, ArrayAccess /** * Sets array_enum * - * @param string[] $array_enum array_enum + * @param string[]|null $array_enum array_enum * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/EnumTest.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/EnumTest.php index 7c04032f672..3d63654057f 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/EnumTest.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/EnumTest.php @@ -330,7 +330,7 @@ class EnumTest implements ModelInterface, ArrayAccess /** * Gets enum_string * - * @return string + * @return string|null */ public function getEnumString() { @@ -340,7 +340,7 @@ class EnumTest implements ModelInterface, ArrayAccess /** * Sets enum_string * - * @param string $enum_string enum_string + * @param string|null $enum_string enum_string * * @return $this */ @@ -396,7 +396,7 @@ class EnumTest implements ModelInterface, ArrayAccess /** * Gets enum_integer * - * @return int + * @return int|null */ public function getEnumInteger() { @@ -406,7 +406,7 @@ class EnumTest implements ModelInterface, ArrayAccess /** * Sets enum_integer * - * @param int $enum_integer enum_integer + * @param int|null $enum_integer enum_integer * * @return $this */ @@ -429,7 +429,7 @@ class EnumTest implements ModelInterface, ArrayAccess /** * Gets enum_number * - * @return double + * @return double|null */ public function getEnumNumber() { @@ -439,7 +439,7 @@ class EnumTest implements ModelInterface, ArrayAccess /** * Sets enum_number * - * @param double $enum_number enum_number + * @param double|null $enum_number enum_number * * @return $this */ @@ -462,7 +462,7 @@ class EnumTest implements ModelInterface, ArrayAccess /** * Gets outer_enum * - * @return \OpenAPI\Client\Model\OuterEnum + * @return \OpenAPI\Client\Model\OuterEnum|null */ public function getOuterEnum() { @@ -472,7 +472,7 @@ class EnumTest implements ModelInterface, ArrayAccess /** * Sets outer_enum * - * @param \OpenAPI\Client\Model\OuterEnum $outer_enum outer_enum + * @param \OpenAPI\Client\Model\OuterEnum|null $outer_enum outer_enum * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/FormatTest.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/FormatTest.php index 5b5fdd74142..0ac4233f761 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/FormatTest.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/FormatTest.php @@ -343,7 +343,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Gets integer * - * @return int + * @return int|null */ public function getInteger() { @@ -353,7 +353,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Sets integer * - * @param int $integer integer + * @param int|null $integer integer * * @return $this */ @@ -375,7 +375,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Gets int32 * - * @return int + * @return int|null */ public function getInt32() { @@ -385,7 +385,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Sets int32 * - * @param int $int32 int32 + * @param int|null $int32 int32 * * @return $this */ @@ -407,7 +407,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Gets int64 * - * @return int + * @return int|null */ public function getInt64() { @@ -417,7 +417,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Sets int64 * - * @param int $int64 int64 + * @param int|null $int64 int64 * * @return $this */ @@ -463,7 +463,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Gets float * - * @return float + * @return float|null */ public function getFloat() { @@ -473,7 +473,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Sets float * - * @param float $float float + * @param float|null $float float * * @return $this */ @@ -495,7 +495,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Gets double * - * @return double + * @return double|null */ public function getDouble() { @@ -505,7 +505,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Sets double * - * @param double $double double + * @param double|null $double double * * @return $this */ @@ -527,7 +527,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Gets string * - * @return string + * @return string|null */ public function getString() { @@ -537,7 +537,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Sets string * - * @param string $string string + * @param string|null $string string * * @return $this */ @@ -580,7 +580,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Gets binary * - * @return \SplFileObject + * @return \SplFileObject|null */ public function getBinary() { @@ -590,7 +590,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Sets binary * - * @param \SplFileObject $binary binary + * @param \SplFileObject|null $binary binary * * @return $this */ @@ -628,7 +628,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Gets date_time * - * @return \DateTime + * @return \DateTime|null */ public function getDateTime() { @@ -638,7 +638,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Sets date_time * - * @param \DateTime $date_time date_time + * @param \DateTime|null $date_time date_time * * @return $this */ @@ -652,7 +652,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Gets uuid * - * @return string + * @return string|null */ public function getUuid() { @@ -662,7 +662,7 @@ class FormatTest implements ModelInterface, ArrayAccess /** * Sets uuid * - * @param string $uuid uuid + * @param string|null $uuid uuid * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/HasOnlyReadOnly.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/HasOnlyReadOnly.php index ba447b30c42..ff5f88e0b20 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/HasOnlyReadOnly.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/HasOnlyReadOnly.php @@ -213,7 +213,7 @@ class HasOnlyReadOnly implements ModelInterface, ArrayAccess /** * Gets bar * - * @return string + * @return string|null */ public function getBar() { @@ -223,7 +223,7 @@ class HasOnlyReadOnly implements ModelInterface, ArrayAccess /** * Sets bar * - * @param string $bar bar + * @param string|null $bar bar * * @return $this */ @@ -237,7 +237,7 @@ class HasOnlyReadOnly implements ModelInterface, ArrayAccess /** * Gets foo * - * @return string + * @return string|null */ public function getFoo() { @@ -247,7 +247,7 @@ class HasOnlyReadOnly implements ModelInterface, ArrayAccess /** * Sets foo * - * @param string $foo foo + * @param string|null $foo foo * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/MapTest.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/MapTest.php index 868afa3d3f8..6cc05ab7e09 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/MapTest.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/MapTest.php @@ -228,7 +228,7 @@ class MapTest implements ModelInterface, ArrayAccess /** * Gets map_map_of_string * - * @return map[string,map[string,string]] + * @return map[string,map[string,string]]|null */ public function getMapMapOfString() { @@ -238,7 +238,7 @@ class MapTest implements ModelInterface, ArrayAccess /** * Sets map_map_of_string * - * @param map[string,map[string,string]] $map_map_of_string map_map_of_string + * @param map[string,map[string,string]]|null $map_map_of_string map_map_of_string * * @return $this */ @@ -252,7 +252,7 @@ class MapTest implements ModelInterface, ArrayAccess /** * Gets map_of_enum_string * - * @return map[string,string] + * @return map[string,string]|null */ public function getMapOfEnumString() { @@ -262,7 +262,7 @@ class MapTest implements ModelInterface, ArrayAccess /** * Sets map_of_enum_string * - * @param map[string,string] $map_of_enum_string map_of_enum_string + * @param map[string,string]|null $map_of_enum_string map_of_enum_string * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php index 0e23c1cf7d7..703881da10e 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php @@ -219,7 +219,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr /** * Gets uuid * - * @return string + * @return string|null */ public function getUuid() { @@ -229,7 +229,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr /** * Sets uuid * - * @param string $uuid uuid + * @param string|null $uuid uuid * * @return $this */ @@ -243,7 +243,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr /** * Gets date_time * - * @return \DateTime + * @return \DateTime|null */ public function getDateTime() { @@ -253,7 +253,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr /** * Sets date_time * - * @param \DateTime $date_time date_time + * @param \DateTime|null $date_time date_time * * @return $this */ @@ -267,7 +267,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr /** * Gets map * - * @return map[string,\OpenAPI\Client\Model\Animal] + * @return map[string,\OpenAPI\Client\Model\Animal]|null */ public function getMap() { @@ -277,7 +277,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr /** * Sets map * - * @param map[string,\OpenAPI\Client\Model\Animal] $map map + * @param map[string,\OpenAPI\Client\Model\Animal]|null $map map * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Model200Response.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Model200Response.php index f781ba56e36..566e007fe11 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Model200Response.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Model200Response.php @@ -214,7 +214,7 @@ class Model200Response implements ModelInterface, ArrayAccess /** * Gets name * - * @return int + * @return int|null */ public function getName() { @@ -224,7 +224,7 @@ class Model200Response implements ModelInterface, ArrayAccess /** * Sets name * - * @param int $name name + * @param int|null $name name * * @return $this */ @@ -238,7 +238,7 @@ class Model200Response implements ModelInterface, ArrayAccess /** * Gets class * - * @return string + * @return string|null */ public function getClass() { @@ -248,7 +248,7 @@ class Model200Response implements ModelInterface, ArrayAccess /** * Sets class * - * @param string $class class + * @param string|null $class class * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ModelList.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ModelList.php index d66e0f8760c..95772ed2d97 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ModelList.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ModelList.php @@ -207,7 +207,7 @@ class ModelList implements ModelInterface, ArrayAccess /** * Gets _123_list * - * @return string + * @return string|null */ public function get123List() { @@ -217,7 +217,7 @@ class ModelList implements ModelInterface, ArrayAccess /** * Sets _123_list * - * @param string $_123_list _123_list + * @param string|null $_123_list _123_list * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ModelReturn.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ModelReturn.php index 4d0663e296d..52ed04a9bfe 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ModelReturn.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ModelReturn.php @@ -208,7 +208,7 @@ class ModelReturn implements ModelInterface, ArrayAccess /** * Gets return * - * @return int + * @return int|null */ public function getReturn() { @@ -218,7 +218,7 @@ class ModelReturn implements ModelInterface, ArrayAccess /** * Sets return * - * @param int $return return + * @param int|null $return return * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Name.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Name.php index 7a67b5882ee..f9170ece85e 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Name.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Name.php @@ -253,7 +253,7 @@ class Name implements ModelInterface, ArrayAccess /** * Gets snake_case * - * @return int + * @return int|null */ public function getSnakeCase() { @@ -263,7 +263,7 @@ class Name implements ModelInterface, ArrayAccess /** * Sets snake_case * - * @param int $snake_case snake_case + * @param int|null $snake_case snake_case * * @return $this */ @@ -277,7 +277,7 @@ class Name implements ModelInterface, ArrayAccess /** * Gets property * - * @return string + * @return string|null */ public function getProperty() { @@ -287,7 +287,7 @@ class Name implements ModelInterface, ArrayAccess /** * Sets property * - * @param string $property property + * @param string|null $property property * * @return $this */ @@ -301,7 +301,7 @@ class Name implements ModelInterface, ArrayAccess /** * Gets _123_number * - * @return int + * @return int|null */ public function get123Number() { @@ -311,7 +311,7 @@ class Name implements ModelInterface, ArrayAccess /** * Sets _123_number * - * @param int $_123_number _123_number + * @param int|null $_123_number _123_number * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/NumberOnly.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/NumberOnly.php index c88ef7f338c..bf99bea6755 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/NumberOnly.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/NumberOnly.php @@ -207,7 +207,7 @@ class NumberOnly implements ModelInterface, ArrayAccess /** * Gets just_number * - * @return float + * @return float|null */ public function getJustNumber() { @@ -217,7 +217,7 @@ class NumberOnly implements ModelInterface, ArrayAccess /** * Sets just_number * - * @param float $just_number just_number + * @param float|null $just_number just_number * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Order.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Order.php index 2551c35f8b4..cc0f4a36ef4 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Order.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Order.php @@ -262,7 +262,7 @@ class Order implements ModelInterface, ArrayAccess /** * Gets id * - * @return int + * @return int|null */ public function getId() { @@ -272,7 +272,7 @@ class Order implements ModelInterface, ArrayAccess /** * Sets id * - * @param int $id id + * @param int|null $id id * * @return $this */ @@ -286,7 +286,7 @@ class Order implements ModelInterface, ArrayAccess /** * Gets pet_id * - * @return int + * @return int|null */ public function getPetId() { @@ -296,7 +296,7 @@ class Order implements ModelInterface, ArrayAccess /** * Sets pet_id * - * @param int $pet_id pet_id + * @param int|null $pet_id pet_id * * @return $this */ @@ -310,7 +310,7 @@ class Order implements ModelInterface, ArrayAccess /** * Gets quantity * - * @return int + * @return int|null */ public function getQuantity() { @@ -320,7 +320,7 @@ class Order implements ModelInterface, ArrayAccess /** * Sets quantity * - * @param int $quantity quantity + * @param int|null $quantity quantity * * @return $this */ @@ -334,7 +334,7 @@ class Order implements ModelInterface, ArrayAccess /** * Gets ship_date * - * @return \DateTime + * @return \DateTime|null */ public function getShipDate() { @@ -344,7 +344,7 @@ class Order implements ModelInterface, ArrayAccess /** * Sets ship_date * - * @param \DateTime $ship_date ship_date + * @param \DateTime|null $ship_date ship_date * * @return $this */ @@ -358,7 +358,7 @@ class Order implements ModelInterface, ArrayAccess /** * Gets status * - * @return string + * @return string|null */ public function getStatus() { @@ -368,7 +368,7 @@ class Order implements ModelInterface, ArrayAccess /** * Sets status * - * @param string $status Order Status + * @param string|null $status Order Status * * @return $this */ @@ -391,7 +391,7 @@ class Order implements ModelInterface, ArrayAccess /** * Gets complete * - * @return bool + * @return bool|null */ public function getComplete() { @@ -401,7 +401,7 @@ class Order implements ModelInterface, ArrayAccess /** * Sets complete * - * @param bool $complete complete + * @param bool|null $complete complete * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/OuterComposite.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/OuterComposite.php index 17093d35f68..2c97e443ee1 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/OuterComposite.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/OuterComposite.php @@ -219,7 +219,7 @@ class OuterComposite implements ModelInterface, ArrayAccess /** * Gets my_number * - * @return float + * @return float|null */ public function getMyNumber() { @@ -229,7 +229,7 @@ class OuterComposite implements ModelInterface, ArrayAccess /** * Sets my_number * - * @param float $my_number my_number + * @param float|null $my_number my_number * * @return $this */ @@ -243,7 +243,7 @@ class OuterComposite implements ModelInterface, ArrayAccess /** * Gets my_string * - * @return string + * @return string|null */ public function getMyString() { @@ -253,7 +253,7 @@ class OuterComposite implements ModelInterface, ArrayAccess /** * Sets my_string * - * @param string $my_string my_string + * @param string|null $my_string my_string * * @return $this */ @@ -267,7 +267,7 @@ class OuterComposite implements ModelInterface, ArrayAccess /** * Gets my_boolean * - * @return bool + * @return bool|null */ public function getMyBoolean() { @@ -277,7 +277,7 @@ class OuterComposite implements ModelInterface, ArrayAccess /** * Sets my_boolean * - * @param bool $my_boolean my_boolean + * @param bool|null $my_boolean my_boolean * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Pet.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Pet.php index 2bc7c0515ce..6f8f5420fc0 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Pet.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Pet.php @@ -268,7 +268,7 @@ class Pet implements ModelInterface, ArrayAccess /** * Gets id * - * @return int + * @return int|null */ public function getId() { @@ -278,7 +278,7 @@ class Pet implements ModelInterface, ArrayAccess /** * Sets id * - * @param int $id id + * @param int|null $id id * * @return $this */ @@ -292,7 +292,7 @@ class Pet implements ModelInterface, ArrayAccess /** * Gets category * - * @return \OpenAPI\Client\Model\Category + * @return \OpenAPI\Client\Model\Category|null */ public function getCategory() { @@ -302,7 +302,7 @@ class Pet implements ModelInterface, ArrayAccess /** * Sets category * - * @param \OpenAPI\Client\Model\Category $category category + * @param \OpenAPI\Client\Model\Category|null $category category * * @return $this */ @@ -364,7 +364,7 @@ class Pet implements ModelInterface, ArrayAccess /** * Gets tags * - * @return \OpenAPI\Client\Model\Tag[] + * @return \OpenAPI\Client\Model\Tag[]|null */ public function getTags() { @@ -374,7 +374,7 @@ class Pet implements ModelInterface, ArrayAccess /** * Sets tags * - * @param \OpenAPI\Client\Model\Tag[] $tags tags + * @param \OpenAPI\Client\Model\Tag[]|null $tags tags * * @return $this */ @@ -388,7 +388,7 @@ class Pet implements ModelInterface, ArrayAccess /** * Gets status * - * @return string + * @return string|null */ public function getStatus() { @@ -398,7 +398,7 @@ class Pet implements ModelInterface, ArrayAccess /** * Sets status * - * @param string $status pet status in the store + * @param string|null $status pet status in the store * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ReadOnlyFirst.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ReadOnlyFirst.php index 792262e0a07..057da3c0ea5 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ReadOnlyFirst.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/ReadOnlyFirst.php @@ -213,7 +213,7 @@ class ReadOnlyFirst implements ModelInterface, ArrayAccess /** * Gets bar * - * @return string + * @return string|null */ public function getBar() { @@ -223,7 +223,7 @@ class ReadOnlyFirst implements ModelInterface, ArrayAccess /** * Sets bar * - * @param string $bar bar + * @param string|null $bar bar * * @return $this */ @@ -237,7 +237,7 @@ class ReadOnlyFirst implements ModelInterface, ArrayAccess /** * Gets baz * - * @return string + * @return string|null */ public function getBaz() { @@ -247,7 +247,7 @@ class ReadOnlyFirst implements ModelInterface, ArrayAccess /** * Sets baz * - * @param string $baz baz + * @param string|null $baz baz * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/SpecialModelName.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/SpecialModelName.php index 62bd9f5b217..6b53089e932 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/SpecialModelName.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/SpecialModelName.php @@ -207,7 +207,7 @@ class SpecialModelName implements ModelInterface, ArrayAccess /** * Gets special_property_name * - * @return int + * @return int|null */ public function getSpecialPropertyName() { @@ -217,7 +217,7 @@ class SpecialModelName implements ModelInterface, ArrayAccess /** * Sets special_property_name * - * @param int $special_property_name special_property_name + * @param int|null $special_property_name special_property_name * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Tag.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Tag.php index d2527268cdb..3f72b5e8a9d 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Tag.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/Tag.php @@ -213,7 +213,7 @@ class Tag implements ModelInterface, ArrayAccess /** * Gets id * - * @return int + * @return int|null */ public function getId() { @@ -223,7 +223,7 @@ class Tag implements ModelInterface, ArrayAccess /** * Sets id * - * @param int $id id + * @param int|null $id id * * @return $this */ @@ -237,7 +237,7 @@ class Tag implements ModelInterface, ArrayAccess /** * Gets name * - * @return string + * @return string|null */ public function getName() { @@ -247,7 +247,7 @@ class Tag implements ModelInterface, ArrayAccess /** * Sets name * - * @param string $name name + * @param string|null $name name * * @return $this */ diff --git a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/User.php b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/User.php index a63067f4d02..2a7d074bac7 100644 --- a/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/User.php +++ b/samples/openapi3/client/petstore/php/OpenAPIClient-php/lib/Model/User.php @@ -249,7 +249,7 @@ class User implements ModelInterface, ArrayAccess /** * Gets id * - * @return int + * @return int|null */ public function getId() { @@ -259,7 +259,7 @@ class User implements ModelInterface, ArrayAccess /** * Sets id * - * @param int $id id + * @param int|null $id id * * @return $this */ @@ -273,7 +273,7 @@ class User implements ModelInterface, ArrayAccess /** * Gets username * - * @return string + * @return string|null */ public function getUsername() { @@ -283,7 +283,7 @@ class User implements ModelInterface, ArrayAccess /** * Sets username * - * @param string $username username + * @param string|null $username username * * @return $this */ @@ -297,7 +297,7 @@ class User implements ModelInterface, ArrayAccess /** * Gets first_name * - * @return string + * @return string|null */ public function getFirstName() { @@ -307,7 +307,7 @@ class User implements ModelInterface, ArrayAccess /** * Sets first_name * - * @param string $first_name first_name + * @param string|null $first_name first_name * * @return $this */ @@ -321,7 +321,7 @@ class User implements ModelInterface, ArrayAccess /** * Gets last_name * - * @return string + * @return string|null */ public function getLastName() { @@ -331,7 +331,7 @@ class User implements ModelInterface, ArrayAccess /** * Sets last_name * - * @param string $last_name last_name + * @param string|null $last_name last_name * * @return $this */ @@ -345,7 +345,7 @@ class User implements ModelInterface, ArrayAccess /** * Gets email * - * @return string + * @return string|null */ public function getEmail() { @@ -355,7 +355,7 @@ class User implements ModelInterface, ArrayAccess /** * Sets email * - * @param string $email email + * @param string|null $email email * * @return $this */ @@ -369,7 +369,7 @@ class User implements ModelInterface, ArrayAccess /** * Gets password * - * @return string + * @return string|null */ public function getPassword() { @@ -379,7 +379,7 @@ class User implements ModelInterface, ArrayAccess /** * Sets password * - * @param string $password password + * @param string|null $password password * * @return $this */ @@ -393,7 +393,7 @@ class User implements ModelInterface, ArrayAccess /** * Gets phone * - * @return string + * @return string|null */ public function getPhone() { @@ -403,7 +403,7 @@ class User implements ModelInterface, ArrayAccess /** * Sets phone * - * @param string $phone phone + * @param string|null $phone phone * * @return $this */ @@ -417,7 +417,7 @@ class User implements ModelInterface, ArrayAccess /** * Gets user_status * - * @return int + * @return int|null */ public function getUserStatus() { @@ -427,7 +427,7 @@ class User implements ModelInterface, ArrayAccess /** * Sets user_status * - * @param int $user_status User Status + * @param int|null $user_status User Status * * @return $this */