Skip to content

Commit a336a4a

Browse files
authored
[php-nextgen] Remove @implements ArrayAccess tag in models with parents (#23418)
1 parent a8003fb commit a336a4a

7 files changed

Lines changed: 2 additions & 6 deletions

File tree

modules/openapi-generator/src/main/resources/php-nextgen/model.mustache

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ use {{invokerPackage}}\ObjectSerializer;
4040
* @package {{invokerPackage}}
4141
* @author OpenAPI Generator team
4242
* @link https://openapi-generator.tech
43+
{{^parentSchema}}
4344
{{^isEnum}}
4445
* @implements ArrayAccess<string, mixed>
4546
{{/isEnum}}
47+
{{/parentSchema}}
4648
*/
4749
{{#isEnum}}{{>model_enum}}{{/isEnum}}{{^isEnum}}{{>model_generic}}{{/isEnum}}
4850
{{/model}}{{/models}}

samples/client/echo_api/php-nextgen-streaming/src/Model/DataQuery.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
* @package OpenAPI\Client
3939
* @author OpenAPI Generator team
4040
* @link https://openapi-generator.tech
41-
* @implements ArrayAccess<string, mixed>
4241
*/
4342
class DataQuery extends Query
4443
{

samples/client/echo_api/php-nextgen/src/Model/DataQuery.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
* @package OpenAPI\Client
3939
* @author OpenAPI Generator team
4040
* @link https://openapi-generator.tech
41-
* @implements ArrayAccess<string, mixed>
4241
*/
4342
class DataQuery extends Query
4443
{

samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Cat.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
* @package OpenAPI\Client
3838
* @author OpenAPI Generator team
3939
* @link https://openapi-generator.tech
40-
* @implements ArrayAccess<string, mixed>
4140
*/
4241
class Cat extends Animal
4342
{

samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ChildWithNullable.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
* @package OpenAPI\Client
3838
* @author OpenAPI Generator team
3939
* @link https://openapi-generator.tech
40-
* @implements ArrayAccess<string, mixed>
4140
*/
4241
class ChildWithNullable extends ParentWithNullable
4342
{

samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DiscriminatorChild.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
* @package OpenAPI\Client
3838
* @author OpenAPI Generator team
3939
* @link https://openapi-generator.tech
40-
* @implements ArrayAccess<string, mixed>
4140
*/
4241
class DiscriminatorChild extends DiscriminatorBase
4342
{

samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Dog.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
* @package OpenAPI\Client
3838
* @author OpenAPI Generator team
3939
* @link https://openapi-generator.tech
40-
* @implements ArrayAccess<string, mixed>
4140
*/
4241
class Dog extends Animal
4342
{

0 commit comments

Comments
 (0)