fix @implements annotations in PHP client (#11908)

This commit is contained in:
Ion Bazan
2022-06-06 12:08:46 +08:00
committed by GitHub
parent daa95decda
commit 5bd3694927
42 changed files with 42 additions and 126 deletions

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class AdditionalPropertiesClass implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class Animal implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class ApiResponse implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class ArrayOfArrayOfNumberOnly implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class ArrayOfNumberOnly implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class ArrayTest implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class Capitalization implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -36,9 +36,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class Cat extends Animal
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class CatAllOf implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class Category implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -39,9 +39,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class ClassModel implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class Client implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class DeprecatedObject implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -36,9 +36,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class Dog extends Animal
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class DogAllOf implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class EnumArrays implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class EnumTest implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -39,9 +39,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class File implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class FileSchemaTestClass implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class Foo implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class FormatTest implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class HasOnlyReadOnly implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -39,9 +39,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class HealthCheckResult implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class InlineResponseDefault implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class MapTest implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -39,9 +39,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class Model200Response implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class ModelList implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -39,9 +39,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class ModelReturn implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -39,9 +39,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class Name implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class NullableClass implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class NumberOnly implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class ObjectWithDeprecatedFields implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class Order implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class OuterComposite implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class OuterObjectWithEnumProperty implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class Pet implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class ReadOnlyFirst implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class SpecialModelName implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class Tag implements ModelInterface, ArrayAccess, \JsonSerializable
{

View File

@@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
* @package OpenAPI\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<TKey, TValue>
* @template TKey int|null
* @template TValue mixed|null
* @implements \ArrayAccess<string, mixed>
*/
class User implements ModelInterface, ArrayAccess, \JsonSerializable
{