forked from loafle/openapi-generator-original
PHP8.4 comptible, php-symfony resources (#20162)
* matrix php build * NullableTypeForNullDefaultValue * update sample
This commit is contained in:
@@ -106,7 +106,7 @@ class Pet
|
||||
* Constructor
|
||||
* @param array|null $data Associated array of property values initializing the model
|
||||
*/
|
||||
public function __construct(array $data = null)
|
||||
public function __construct(?array $data = null)
|
||||
{
|
||||
if (is_array($data)) {
|
||||
$this->id = array_key_exists('id', $data) ? $data['id'] : $this->id;
|
||||
|
||||
Reference in New Issue
Block a user