File tree Expand file tree Collapse file tree 13 files changed +17
-17
lines changed
modules/openapi-generator/src/main/resources/php-nextgen
php-nextgen-streaming/src/Model
petstore/php-nextgen/OpenAPIClient-php/src/Model Expand file tree Collapse file tree 13 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par
214214 *
215215 * @return string[]
216216 */
217- public function { {getter} }AllowableValues()
217+ public static function { {getter} }AllowableValues()
218218 {
219219 return [
220220{{#discriminator} }
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ public function getModelName(): string
280280 *
281281 * @return string[]
282282 */
283- public function getArrayStringEnumDefaultAllowableValues ()
283+ public static function getArrayStringEnumDefaultAllowableValues ()
284284 {
285285 return [
286286 self ::ARRAY_STRING_ENUM_DEFAULT_SUCCESS ,
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ public function getModelName(): string
267267 *
268268 * @return string[]
269269 */
270- public function getStatusAllowableValues ()
270+ public static function getStatusAllowableValues ()
271271 {
272272 return [
273273 self ::STATUS_AVAILABLE ,
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ public function getModelName(): string
243243 *
244244 * @return string[]
245245 */
246- public function getOutcomesAllowableValues ()
246+ public static function getOutcomesAllowableValues ()
247247 {
248248 return [
249249 self ::OUTCOMES_SUCCESS ,
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ public function getModelName(): string
280280 *
281281 * @return string[]
282282 */
283- public function getArrayStringEnumDefaultAllowableValues ()
283+ public static function getArrayStringEnumDefaultAllowableValues ()
284284 {
285285 return [
286286 self ::ARRAY_STRING_ENUM_DEFAULT_SUCCESS ,
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ public function getModelName(): string
267267 *
268268 * @return string[]
269269 */
270- public function getStatusAllowableValues ()
270+ public static function getStatusAllowableValues ()
271271 {
272272 return [
273273 self ::STATUS_AVAILABLE ,
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ public function getModelName(): string
243243 *
244244 * @return string[]
245245 */
246- public function getOutcomesAllowableValues ()
246+ public static function getOutcomesAllowableValues ()
247247 {
248248 return [
249249 self ::OUTCOMES_SUCCESS ,
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ public function getModelName(): string
243243 *
244244 * @return string[]
245245 */
246- public function getJustSymbolAllowableValues ()
246+ public static function getJustSymbolAllowableValues ()
247247 {
248248 return [
249249 self ::JUST_SYMBOL_GREATER_THAN_OR_EQUAL_TO ,
@@ -256,7 +256,7 @@ public function getJustSymbolAllowableValues()
256256 *
257257 * @return string[]
258258 */
259- public function getArrayEnumAllowableValues ()
259+ public static function getArrayEnumAllowableValues ()
260260 {
261261 return [
262262 self ::ARRAY_ENUM_FISH ,
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ public function getModelName(): string
285285 *
286286 * @return string[]
287287 */
288- public function getEnumStringAllowableValues ()
288+ public static function getEnumStringAllowableValues ()
289289 {
290290 return [
291291 self ::ENUM_STRING_UPPER ,
@@ -299,7 +299,7 @@ public function getEnumStringAllowableValues()
299299 *
300300 * @return string[]
301301 */
302- public function getEnumStringRequiredAllowableValues ()
302+ public static function getEnumStringRequiredAllowableValues ()
303303 {
304304 return [
305305 self ::ENUM_STRING_REQUIRED_UPPER ,
@@ -313,7 +313,7 @@ public function getEnumStringRequiredAllowableValues()
313313 *
314314 * @return string[]
315315 */
316- public function getEnumIntegerAllowableValues ()
316+ public static function getEnumIntegerAllowableValues ()
317317 {
318318 return [
319319 self ::ENUM_INTEGER_NUMBER_1 ,
@@ -326,7 +326,7 @@ public function getEnumIntegerAllowableValues()
326326 *
327327 * @return string[]
328328 */
329- public function getEnumNumberAllowableValues ()
329+ public static function getEnumNumberAllowableValues ()
330330 {
331331 return [
332332 self ::ENUM_NUMBER_NUMBER_1_DOT_1 ,
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ public function getModelName(): string
253253 *
254254 * @return string[]
255255 */
256- public function getMapOfEnumStringAllowableValues ()
256+ public static function getMapOfEnumStringAllowableValues ()
257257 {
258258 return [
259259 self ::MAP_OF_ENUM_STRING_UPPER ,
You can’t perform that action at this time.
0 commit comments