[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:
Brian Ferri
2025-03-08 09:39:48 +01:00
committed by GitHub
parent 7f64246b20
commit cde0f551fc
13 changed files with 17 additions and 17 deletions

View File

@@ -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,

View File

@@ -267,7 +267,7 @@ class Pet implements ModelInterface, ArrayAccess, JsonSerializable
*
* @return string[]
*/
public function getStatusAllowableValues()
public static function getStatusAllowableValues()
{
return [
self::STATUS_AVAILABLE,

View File

@@ -243,7 +243,7 @@ class Query implements ModelInterface, ArrayAccess, JsonSerializable
*
* @return string[]
*/
public function getOutcomesAllowableValues()
public static function getOutcomesAllowableValues()
{
return [
self::OUTCOMES_SUCCESS,