diff --git a/modules/openapi-generator/src/main/resources/php-nextgen/model_generic.mustache b/modules/openapi-generator/src/main/resources/php-nextgen/model_generic.mustache index 214c57208b90..23210e174e62 100644 --- a/modules/openapi-generator/src/main/resources/php-nextgen/model_generic.mustache +++ b/modules/openapi-generator/src/main/resources/php-nextgen/model_generic.mustache @@ -463,7 +463,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -475,7 +475,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -488,7 +488,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -505,7 +505,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Bird.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Bird.php index 5974d97bca21..d17906ded139 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Bird.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Bird.php @@ -327,7 +327,7 @@ public function setColor(?string $color): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -339,7 +339,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -352,7 +352,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -369,7 +369,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Category.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Category.php index 57f2dbfac702..b654672e27bd 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Category.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Category.php @@ -327,7 +327,7 @@ public function setName(?string $name): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -339,7 +339,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -352,7 +352,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -369,7 +369,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/DataQuery.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/DataQuery.php index b37807653c81..0621ea6bca2c 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/DataQuery.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/DataQuery.php @@ -351,7 +351,7 @@ public function setDate(?\DateTime $date): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -363,7 +363,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -376,7 +376,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -393,7 +393,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/DefaultValue.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/DefaultValue.php index 52b9ca335348..9284c0dfefc8 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/DefaultValue.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/DefaultValue.php @@ -579,7 +579,7 @@ public function setStringNullable(?string $string_nullable): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -591,7 +591,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -604,7 +604,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -621,7 +621,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/NumberPropertiesOnly.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/NumberPropertiesOnly.php index ea5b4d2f44be..f7a95f36a19b 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/NumberPropertiesOnly.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/NumberPropertiesOnly.php @@ -377,7 +377,7 @@ public function setDouble(?float $double): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -389,7 +389,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -402,7 +402,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -419,7 +419,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Pet.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Pet.php index 8678b459f4af..ea65d176af5f 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Pet.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Pet.php @@ -505,7 +505,7 @@ public function setStatus(?string $status): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -517,7 +517,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -530,7 +530,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -547,7 +547,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Query.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Query.php index 79a804401cbe..6a085cfec287 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Query.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Query.php @@ -353,7 +353,7 @@ public function setOutcomes(?array $outcomes): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -365,7 +365,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -378,7 +378,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -395,7 +395,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Tag.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Tag.php index adf293e72e9c..e1c2005d2e3e 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Tag.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Tag.php @@ -327,7 +327,7 @@ public function setName(?string $name): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -339,7 +339,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -352,7 +352,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -369,7 +369,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestFormObjectMultipartRequestMarker.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestFormObjectMultipartRequestMarker.php index 77f2d9b379b2..057cc365bd77 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestFormObjectMultipartRequestMarker.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestFormObjectMultipartRequestMarker.php @@ -293,7 +293,7 @@ public function setName(?string $name): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -305,7 +305,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -318,7 +318,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -335,7 +335,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php index cef26149071b..e751b243cafc 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php @@ -395,7 +395,7 @@ public function setName(?string $name): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -407,7 +407,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -420,7 +420,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -437,7 +437,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php index e4994c02d17d..feb7f3e6e664 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php @@ -293,7 +293,7 @@ public function setValues(?array $values): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -305,7 +305,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -318,7 +318,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -335,7 +335,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen/src/Model/Bird.php b/samples/client/echo_api/php-nextgen/src/Model/Bird.php index 5974d97bca21..d17906ded139 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Bird.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Bird.php @@ -327,7 +327,7 @@ public function setColor(?string $color): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -339,7 +339,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -352,7 +352,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -369,7 +369,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen/src/Model/Category.php b/samples/client/echo_api/php-nextgen/src/Model/Category.php index 57f2dbfac702..b654672e27bd 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Category.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Category.php @@ -327,7 +327,7 @@ public function setName(?string $name): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -339,7 +339,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -352,7 +352,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -369,7 +369,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen/src/Model/DataQuery.php b/samples/client/echo_api/php-nextgen/src/Model/DataQuery.php index b37807653c81..0621ea6bca2c 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/DataQuery.php +++ b/samples/client/echo_api/php-nextgen/src/Model/DataQuery.php @@ -351,7 +351,7 @@ public function setDate(?\DateTime $date): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -363,7 +363,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -376,7 +376,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -393,7 +393,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen/src/Model/DefaultValue.php b/samples/client/echo_api/php-nextgen/src/Model/DefaultValue.php index 52b9ca335348..9284c0dfefc8 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/DefaultValue.php +++ b/samples/client/echo_api/php-nextgen/src/Model/DefaultValue.php @@ -579,7 +579,7 @@ public function setStringNullable(?string $string_nullable): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -591,7 +591,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -604,7 +604,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -621,7 +621,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen/src/Model/NumberPropertiesOnly.php b/samples/client/echo_api/php-nextgen/src/Model/NumberPropertiesOnly.php index ea5b4d2f44be..f7a95f36a19b 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/NumberPropertiesOnly.php +++ b/samples/client/echo_api/php-nextgen/src/Model/NumberPropertiesOnly.php @@ -377,7 +377,7 @@ public function setDouble(?float $double): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -389,7 +389,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -402,7 +402,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -419,7 +419,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen/src/Model/Pet.php b/samples/client/echo_api/php-nextgen/src/Model/Pet.php index 8678b459f4af..ea65d176af5f 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Pet.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Pet.php @@ -505,7 +505,7 @@ public function setStatus(?string $status): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -517,7 +517,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -530,7 +530,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -547,7 +547,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen/src/Model/Query.php b/samples/client/echo_api/php-nextgen/src/Model/Query.php index 79a804401cbe..6a085cfec287 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Query.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Query.php @@ -353,7 +353,7 @@ public function setOutcomes(?array $outcomes): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -365,7 +365,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -378,7 +378,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -395,7 +395,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen/src/Model/Tag.php b/samples/client/echo_api/php-nextgen/src/Model/Tag.php index adf293e72e9c..e1c2005d2e3e 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Tag.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Tag.php @@ -327,7 +327,7 @@ public function setName(?string $name): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -339,7 +339,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -352,7 +352,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -369,7 +369,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen/src/Model/TestFormObjectMultipartRequestMarker.php b/samples/client/echo_api/php-nextgen/src/Model/TestFormObjectMultipartRequestMarker.php index 77f2d9b379b2..057cc365bd77 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/TestFormObjectMultipartRequestMarker.php +++ b/samples/client/echo_api/php-nextgen/src/Model/TestFormObjectMultipartRequestMarker.php @@ -293,7 +293,7 @@ public function setName(?string $name): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -305,7 +305,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -318,7 +318,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -335,7 +335,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php b/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php index cef26149071b..e751b243cafc 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php +++ b/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php @@ -395,7 +395,7 @@ public function setName(?string $name): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -407,7 +407,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -420,7 +420,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -437,7 +437,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php b/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php index e4994c02d17d..feb7f3e6e664 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php +++ b/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php @@ -293,7 +293,7 @@ public function setValues(?array $values): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -305,7 +305,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -318,7 +318,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -335,7 +335,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AdditionalPropertiesClass.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AdditionalPropertiesClass.php index 5e073f143561..69949c95a394 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AdditionalPropertiesClass.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AdditionalPropertiesClass.php @@ -326,7 +326,7 @@ public function setMapOfMapProperty(?array $map_of_map_property): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -338,7 +338,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -351,7 +351,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -368,7 +368,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AllOfWithSingleRef.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AllOfWithSingleRef.php index aaa03a7bc5f2..38c2b0c6e15d 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AllOfWithSingleRef.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AllOfWithSingleRef.php @@ -326,7 +326,7 @@ public function setSingleRefType(?\OpenAPI\Client\Model\SingleRefType $single_re /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -338,7 +338,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -351,7 +351,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -368,7 +368,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Animal.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Animal.php index 7b54263e2a15..17e869cd22bf 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Animal.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Animal.php @@ -334,7 +334,7 @@ public function setColor(?string $color): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -346,7 +346,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -359,7 +359,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -376,7 +376,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ApiResponse.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ApiResponse.php index 5f75de9be17b..7dd1975121e3 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ApiResponse.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ApiResponse.php @@ -360,7 +360,7 @@ public function setMessage(?string $message): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -372,7 +372,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -385,7 +385,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -402,7 +402,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfArrayOfNumberOnly.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfArrayOfNumberOnly.php index 2a9288728be2..cc2d702f6531 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfArrayOfNumberOnly.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfArrayOfNumberOnly.php @@ -292,7 +292,7 @@ public function setArrayArrayNumber(?array $array_array_number): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -304,7 +304,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -317,7 +317,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -334,7 +334,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfNumberOnly.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfNumberOnly.php index ff56e92fe1d8..6015d33cd3fb 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfNumberOnly.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfNumberOnly.php @@ -292,7 +292,7 @@ public function setArrayNumber(?array $array_number): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -304,7 +304,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -317,7 +317,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -334,7 +334,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayTest.php index a97000aedd56..0c0935e3879e 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayTest.php @@ -375,7 +375,7 @@ public function setArrayArrayOfModel(?array $array_array_of_model): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -387,7 +387,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -400,7 +400,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -417,7 +417,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Capitalization.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Capitalization.php index e858bc14795b..331b7dbdec37 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Capitalization.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Capitalization.php @@ -462,7 +462,7 @@ public function setAttName(?string $att_name): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -474,7 +474,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -487,7 +487,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -504,7 +504,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Cat.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Cat.php index 222b077b4bd1..27d41274271b 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Cat.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Cat.php @@ -282,7 +282,7 @@ public function setDeclawed(?bool $declawed): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -294,7 +294,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -307,7 +307,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -324,7 +324,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Category.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Category.php index cf2966cfb8c5..2b1bfd6f5fa4 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Category.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Category.php @@ -329,7 +329,7 @@ public function setName(string $name): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -341,7 +341,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -354,7 +354,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -371,7 +371,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ChildWithNullable.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ChildWithNullable.php index 5512997f3012..be528fe9fb58 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ChildWithNullable.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ChildWithNullable.php @@ -282,7 +282,7 @@ public function setOtherProperty(?string $other_property): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -294,7 +294,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -307,7 +307,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -324,7 +324,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ClassModel.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ClassModel.php index 79381cb5d8dd..b76628ff6211 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ClassModel.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ClassModel.php @@ -293,7 +293,7 @@ public function setClass(?string $_class): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -305,7 +305,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -318,7 +318,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -335,7 +335,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Client.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Client.php index 53114ffc6b78..e7981cafe738 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Client.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Client.php @@ -292,7 +292,7 @@ public function setClient(?string $client): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -304,7 +304,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -317,7 +317,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -334,7 +334,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DeprecatedObject.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DeprecatedObject.php index ea9f06548e51..be2fc92e4f06 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DeprecatedObject.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DeprecatedObject.php @@ -292,7 +292,7 @@ public function setName(?string $name): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -304,7 +304,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -317,7 +317,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -334,7 +334,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorBase.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorBase.php index 50a6eb8b66a4..b7d1c17a7cca 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorBase.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorBase.php @@ -299,7 +299,7 @@ public function setType(string $type): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -311,7 +311,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -324,7 +324,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -341,7 +341,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorChild.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorChild.php index 534cd723ff0e..6a4f47eb2c7e 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorChild.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorChild.php @@ -282,7 +282,7 @@ public function setChildProperty(?string $child_property): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -294,7 +294,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -307,7 +307,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -324,7 +324,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Dog.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Dog.php index 584ddbf47075..42ec1077c07a 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Dog.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Dog.php @@ -282,7 +282,7 @@ public function setBreed(?string $breed): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -294,7 +294,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -307,7 +307,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -324,7 +324,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumArrays.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumArrays.php index 01e988b922c9..9f6de802d1b2 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumArrays.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumArrays.php @@ -384,7 +384,7 @@ public function setArrayEnum(?array $array_enum): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -396,7 +396,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -409,7 +409,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -426,7 +426,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumTest.php index 397fa656252a..d8fec8c9c4aa 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumTest.php @@ -680,7 +680,7 @@ public function setOuterEnumIntegerDefaultValue(?\OpenAPI\Client\Model\OuterEnum /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -692,7 +692,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -705,7 +705,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -722,7 +722,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Error.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Error.php index 0a4b930e48cb..db5b08d5aa24 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Error.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Error.php @@ -330,7 +330,7 @@ public function setErrors(?array $errors): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -342,7 +342,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -355,7 +355,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -372,7 +372,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ErrorResponse.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ErrorResponse.php index 844cb9fc6f79..e36459a57aae 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ErrorResponse.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ErrorResponse.php @@ -326,7 +326,7 @@ public function setError(?string $error): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -338,7 +338,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -351,7 +351,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -368,7 +368,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FakeBigDecimalMap200Response.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FakeBigDecimalMap200Response.php index f710fb22217c..3f502fa9d6d5 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FakeBigDecimalMap200Response.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FakeBigDecimalMap200Response.php @@ -326,7 +326,7 @@ public function setSomeMap(?array $some_map): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -338,7 +338,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -351,7 +351,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -368,7 +368,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/File.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/File.php index 05a53eae5d0e..36d7170737e2 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/File.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/File.php @@ -293,7 +293,7 @@ public function setSourceUri(?string $source_uri): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -305,7 +305,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -318,7 +318,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -335,7 +335,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FileSchemaTestClass.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FileSchemaTestClass.php index 4b2d00129e01..ae6c41b5d9a0 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FileSchemaTestClass.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FileSchemaTestClass.php @@ -326,7 +326,7 @@ public function setFiles(?array $files): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -338,7 +338,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -351,7 +351,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -368,7 +368,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Foo.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Foo.php index a325ea8d36f0..e2c0166bae31 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Foo.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Foo.php @@ -292,7 +292,7 @@ public function setBar(?string $bar): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -304,7 +304,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -317,7 +317,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -334,7 +334,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FooGetDefaultResponse.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FooGetDefaultResponse.php index 5a814da21861..e872f8240de1 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FooGetDefaultResponse.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FooGetDefaultResponse.php @@ -292,7 +292,7 @@ public function setString(?\OpenAPI\Client\Model\Foo $string): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -304,7 +304,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -317,7 +317,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -334,7 +334,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FormatTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FormatTest.php index 56e9f6a7879e..af9f7202788e 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FormatTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FormatTest.php @@ -970,7 +970,7 @@ public function setArrayRef(?array $array_ref): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -982,7 +982,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -995,7 +995,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -1012,7 +1012,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HasOnlyReadOnly.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HasOnlyReadOnly.php index 9506aac0db0b..4a3a7e3bd5d3 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HasOnlyReadOnly.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HasOnlyReadOnly.php @@ -326,7 +326,7 @@ public function setFoo(?string $foo): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -338,7 +338,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -351,7 +351,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -368,7 +368,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HealthCheckResult.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HealthCheckResult.php index b9b593d82e04..3c0595eb1f59 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HealthCheckResult.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HealthCheckResult.php @@ -300,7 +300,7 @@ public function setNullableMessage(?string $nullable_message): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -312,7 +312,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -325,7 +325,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -342,7 +342,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MapTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MapTest.php index cf2a070548bd..a1206393f7e3 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MapTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MapTest.php @@ -418,7 +418,7 @@ public function setIndirectMap(?array $indirect_map): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -430,7 +430,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -443,7 +443,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -460,7 +460,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MixedPropertiesAndAdditionalPropertiesClass.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MixedPropertiesAndAdditionalPropertiesClass.php index a01efbde4e53..8257b5a10083 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MixedPropertiesAndAdditionalPropertiesClass.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MixedPropertiesAndAdditionalPropertiesClass.php @@ -360,7 +360,7 @@ public function setMap(?array $map): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -372,7 +372,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -385,7 +385,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -402,7 +402,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Model200Response.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Model200Response.php index d7a53739a8e0..2260769ab4cc 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Model200Response.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Model200Response.php @@ -327,7 +327,7 @@ public function setClass(?string $class): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -339,7 +339,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -352,7 +352,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -369,7 +369,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelList.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelList.php index 1f1b691466b5..ec6d007f65c0 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelList.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelList.php @@ -292,7 +292,7 @@ public function set123List(?string $_123_list): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -304,7 +304,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -317,7 +317,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -334,7 +334,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelReturn.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelReturn.php index f9f6610feb4a..642cd50b1bf2 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelReturn.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelReturn.php @@ -293,7 +293,7 @@ public function setReturn(?int $return): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -305,7 +305,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -318,7 +318,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -335,7 +335,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Name.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Name.php index 2968220d3fa5..b0712d625826 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Name.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Name.php @@ -398,7 +398,7 @@ public function set123Number(?int $_123_number): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -410,7 +410,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -423,7 +423,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -440,7 +440,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NullableClass.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NullableClass.php index 2fed53c27150..8f111933f91c 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NullableClass.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NullableClass.php @@ -736,7 +736,7 @@ public function setObjectItemsNullable(?array $object_items_nullable): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -748,7 +748,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -761,7 +761,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -778,7 +778,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NumberOnly.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NumberOnly.php index dd3da64f84ae..bcbb7473fc72 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NumberOnly.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NumberOnly.php @@ -292,7 +292,7 @@ public function setJustNumber(?float $just_number): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -304,7 +304,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -317,7 +317,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -334,7 +334,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ObjectWithDeprecatedFields.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ObjectWithDeprecatedFields.php index b086f1c5dc7b..c985832e86b9 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ObjectWithDeprecatedFields.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ObjectWithDeprecatedFields.php @@ -400,7 +400,7 @@ public function setBars(?array $bars): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -412,7 +412,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -425,7 +425,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -442,7 +442,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Order.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Order.php index d18c3c93be3e..b1923b403183 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Order.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Order.php @@ -498,7 +498,7 @@ public function setComplete(?bool $complete): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -510,7 +510,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -523,7 +523,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -540,7 +540,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterComposite.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterComposite.php index 58ba2c75df52..ee98025d3880 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterComposite.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterComposite.php @@ -360,7 +360,7 @@ public function setMyBoolean(?bool $my_boolean): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -372,7 +372,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -385,7 +385,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -402,7 +402,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterObjectWithEnumProperty.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterObjectWithEnumProperty.php index 0edf99345ea4..13572b5bf775 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterObjectWithEnumProperty.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterObjectWithEnumProperty.php @@ -295,7 +295,7 @@ public function setValue(\OpenAPI\Client\Model\OuterEnumInteger $value): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -307,7 +307,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -320,7 +320,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -337,7 +337,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ParentWithNullable.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ParentWithNullable.php index fdef4acd492a..294839d48829 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ParentWithNullable.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ParentWithNullable.php @@ -368,7 +368,7 @@ public function setNullableProperty(?string $nullable_property): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -380,7 +380,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -393,7 +393,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -410,7 +410,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Pet.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Pet.php index c2a424cda483..fe47b58399fd 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Pet.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Pet.php @@ -506,7 +506,7 @@ public function setStatus(?string $status): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -518,7 +518,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -531,7 +531,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -548,7 +548,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ReadOnlyFirst.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ReadOnlyFirst.php index 2abf95a27d07..3d4ab90fe646 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ReadOnlyFirst.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ReadOnlyFirst.php @@ -326,7 +326,7 @@ public function setBaz(?string $baz): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -338,7 +338,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -351,7 +351,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -368,7 +368,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SpecialModelName.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SpecialModelName.php index da358562191b..b17516254285 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SpecialModelName.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SpecialModelName.php @@ -292,7 +292,7 @@ public function setSpecialPropertyName(?int $special_property_name): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -304,7 +304,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -317,7 +317,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -334,7 +334,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Tag.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Tag.php index d7d92b29c6ed..53848d6af8e6 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Tag.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Tag.php @@ -326,7 +326,7 @@ public function setName(?string $name): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -338,7 +338,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -351,7 +351,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -368,7 +368,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/TestInlineFreeformAdditionalPropertiesRequest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/TestInlineFreeformAdditionalPropertiesRequest.php index e4dcffd1678e..e1d326e4a2c4 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/TestInlineFreeformAdditionalPropertiesRequest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/TestInlineFreeformAdditionalPropertiesRequest.php @@ -292,7 +292,7 @@ public function setSomeProperty(?string $some_property): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -304,7 +304,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -317,7 +317,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -334,7 +334,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */ diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php index b66ba197397b..d84f9cc01141 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php @@ -530,7 +530,7 @@ public function setUserStatus(?int $user_status): static /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return boolean */ @@ -542,7 +542,7 @@ public function offsetExists(mixed $offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return mixed|null */ @@ -555,7 +555,7 @@ public function offsetGet(mixed $offset): mixed /** * Sets value based on offset. * - * @param int|null $offset Offset + * @param int|string|null $offset Offset * @param mixed $value Value to be set * * @return void @@ -572,7 +572,7 @@ public function offsetSet(mixed $offset, mixed $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param int|string $offset Offset * * @return void */