File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
modules/swagger-codegen/src/main/resources/php Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -353,6 +353,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}} {{/parentSchema}}{{^pa
353
353
*
354
354
* @return boolean
355
355
*/
356
+ #[\ReturnTypeWillChange]
356
357
public function offsetExists($offset)
357
358
{
358
359
return isset($this -> container [$offset ]);
@@ -365,6 +366,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}} {{/parentSchema}}{{^pa
365
366
*
366
367
* @return mixed
367
368
*/
369
+ #[\ReturnTypeWillChange]
368
370
public function offsetGet($offset)
369
371
{
370
372
return isset($this -> container [$offset ]) ? $this -> container [$offset ] : null;
@@ -378,6 +380,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}} {{/parentSchema}}{{^pa
378
380
*
379
381
* @return void
380
382
*/
383
+ #[\ReturnTypeWillChange]
381
384
public function offsetSet($offset, $value)
382
385
{
383
386
if (is_null($offset )) {
@@ -394,6 +397,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}} {{/parentSchema}}{{^pa
394
397
*
395
398
* @return void
396
399
*/
400
+ #[\ReturnTypeWillChange]
397
401
public function offsetUnset($offset)
398
402
{
399
403
unset($this -> container [$offset ]);
You can’t perform that action at this time.
0 commit comments