Skip to content

Commit 5e2e7e5

Browse files
committed
[php] Update samples.
1 parent b9db5f2 commit 5e2e7e5

File tree

86 files changed

+228
-228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+228
-228
lines changed

samples/client/petstore/php/OpenAPIClient-php/lib/Model/AdditionalPropertiesClass.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public function getMapProperty()
309309
/**
310310
* Sets map_property
311311
*
312-
* @param array<string,string>|null $map_property map_property
312+
* @param array<string,string> $map_property map_property
313313
*
314314
* @return self
315315
*/
@@ -336,7 +336,7 @@ public function getMapOfMapProperty()
336336
/**
337337
* Sets map_of_map_property
338338
*
339-
* @param array<string,array<string,string>>|null $map_of_map_property map_of_map_property
339+
* @param array<string,array<string,string>> $map_of_map_property map_of_map_property
340340
*
341341
* @return self
342342
*/

samples/client/petstore/php/OpenAPIClient-php/lib/Model/AllOfWithSingleRef.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public function getUsername()
309309
/**
310310
* Sets username
311311
*
312-
* @param string|null $username username
312+
* @param string $username username
313313
*
314314
* @return self
315315
*/
@@ -336,7 +336,7 @@ public function getSingleRefType()
336336
/**
337337
* Sets single_ref_type
338338
*
339-
* @param \OpenAPI\Client\Model\SingleRefType|null $single_ref_type single_ref_type
339+
* @param \OpenAPI\Client\Model\SingleRefType $single_ref_type single_ref_type
340340
*
341341
* @return self
342342
*/

samples/client/petstore/php/OpenAPIClient-php/lib/Model/Animal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ public function getColor()
342342
/**
343343
* Sets color
344344
*
345-
* @param string|null $color color
345+
* @param string $color color
346346
*
347347
* @return self
348348
*/

samples/client/petstore/php/OpenAPIClient-php/lib/Model/ApiResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ public function getCode()
316316
/**
317317
* Sets code
318318
*
319-
* @param int|null $code code
319+
* @param int $code code
320320
*
321321
* @return self
322322
*/
@@ -343,7 +343,7 @@ public function getType()
343343
/**
344344
* Sets type
345345
*
346-
* @param string|null $type type
346+
* @param string $type type
347347
*
348348
* @return self
349349
*/
@@ -370,7 +370,7 @@ public function getMessage()
370370
/**
371371
* Sets message
372372
*
373-
* @param string|null $message message
373+
* @param string $message message
374374
*
375375
* @return self
376376
*/

samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfArrayOfNumberOnly.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public function getArrayArrayNumber()
302302
/**
303303
* Sets array_array_number
304304
*
305-
* @param float[][]|null $array_array_number array_array_number
305+
* @param float[][] $array_array_number array_array_number
306306
*
307307
* @return self
308308
*/

samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfNumberOnly.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public function getArrayNumber()
302302
/**
303303
* Sets array_number
304304
*
305-
* @param float[]|null $array_number array_number
305+
* @param float[] $array_number array_number
306306
*
307307
* @return self
308308
*/

samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ public function getArrayOfString()
324324
/**
325325
* Sets array_of_string
326326
*
327-
* @param string[]|null $array_of_string array_of_string
327+
* @param string[] $array_of_string array_of_string
328328
*
329329
* @return self
330330
*/
@@ -358,7 +358,7 @@ public function getArrayArrayOfInteger()
358358
/**
359359
* Sets array_array_of_integer
360360
*
361-
* @param int[][]|null $array_array_of_integer array_array_of_integer
361+
* @param int[][] $array_array_of_integer array_array_of_integer
362362
*
363363
* @return self
364364
*/
@@ -385,7 +385,7 @@ public function getArrayArrayOfModel()
385385
/**
386386
* Sets array_array_of_model
387387
*
388-
* @param \OpenAPI\Client\Model\ReadOnlyFirst[][]|null $array_array_of_model array_array_of_model
388+
* @param \OpenAPI\Client\Model\ReadOnlyFirst[][] $array_array_of_model array_array_of_model
389389
*
390390
* @return self
391391
*/

samples/client/petstore/php/OpenAPIClient-php/lib/Model/Capitalization.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ public function getSmallCamel()
337337
/**
338338
* Sets small_camel
339339
*
340-
* @param string|null $small_camel small_camel
340+
* @param string $small_camel small_camel
341341
*
342342
* @return self
343343
*/
@@ -364,7 +364,7 @@ public function getCapitalCamel()
364364
/**
365365
* Sets capital_camel
366366
*
367-
* @param string|null $capital_camel capital_camel
367+
* @param string $capital_camel capital_camel
368368
*
369369
* @return self
370370
*/
@@ -391,7 +391,7 @@ public function getSmallSnake()
391391
/**
392392
* Sets small_snake
393393
*
394-
* @param string|null $small_snake small_snake
394+
* @param string $small_snake small_snake
395395
*
396396
* @return self
397397
*/
@@ -418,7 +418,7 @@ public function getCapitalSnake()
418418
/**
419419
* Sets capital_snake
420420
*
421-
* @param string|null $capital_snake capital_snake
421+
* @param string $capital_snake capital_snake
422422
*
423423
* @return self
424424
*/
@@ -445,7 +445,7 @@ public function getScaEthFlowPoints()
445445
/**
446446
* Sets sca_eth_flow_points
447447
*
448-
* @param string|null $sca_eth_flow_points sca_eth_flow_points
448+
* @param string $sca_eth_flow_points sca_eth_flow_points
449449
*
450450
* @return self
451451
*/
@@ -472,7 +472,7 @@ public function getAttName()
472472
/**
473473
* Sets att_name
474474
*
475-
* @param string|null $att_name Name of the pet
475+
* @param string $att_name Name of the pet
476476
*
477477
* @return self
478478
*/

samples/client/petstore/php/OpenAPIClient-php/lib/Model/Cat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public function getDeclawed()
296296
/**
297297
* Sets declawed
298298
*
299-
* @param bool|null $declawed declawed
299+
* @param bool $declawed declawed
300300
*
301301
* @return self
302302
*/

samples/client/petstore/php/OpenAPIClient-php/lib/Model/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public function getId()
312312
/**
313313
* Sets id
314314
*
315-
* @param int|null $id id
315+
* @param int $id id
316316
*
317317
* @return self
318318
*/

0 commit comments

Comments
 (0)