mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-10 01:26:16 +00:00
[PHP-NEXTGEN] make allowable values enum getter static (#20820)
* [PHP-NEXTGEN] make allowable values enum getter static * [PHP-NEXTGEN] make allowable values enum getter static
This commit is contained in:
@@ -280,7 +280,7 @@ class DefaultValue implements ModelInterface, ArrayAccess, JsonSerializable
|
||||
*
|
||||
* @return string[]
|
||||
*/
|
||||
public function getArrayStringEnumDefaultAllowableValues()
|
||||
public static function getArrayStringEnumDefaultAllowableValues()
|
||||
{
|
||||
return [
|
||||
self::ARRAY_STRING_ENUM_DEFAULT_SUCCESS,
|
||||
|
||||
@@ -267,7 +267,7 @@ class Pet implements ModelInterface, ArrayAccess, JsonSerializable
|
||||
*
|
||||
* @return string[]
|
||||
*/
|
||||
public function getStatusAllowableValues()
|
||||
public static function getStatusAllowableValues()
|
||||
{
|
||||
return [
|
||||
self::STATUS_AVAILABLE,
|
||||
|
||||
@@ -243,7 +243,7 @@ class Query implements ModelInterface, ArrayAccess, JsonSerializable
|
||||
*
|
||||
* @return string[]
|
||||
*/
|
||||
public function getOutcomesAllowableValues()
|
||||
public static function getOutcomesAllowableValues()
|
||||
{
|
||||
return [
|
||||
self::OUTCOMES_SUCCESS,
|
||||
|
||||
Reference in New Issue
Block a user