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
214
214
*
215
215
* @return string[]
216
216
*/
217
- public function { {getter} }AllowableValues()
217
+ public static function { {getter} }AllowableValues()
218
218
{
219
219
return [
220
220
{{#discriminator} }
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ public function getModelName(): string
280
280
*
281
281
* @return string[]
282
282
*/
283
- public function getArrayStringEnumDefaultAllowableValues ()
283
+ public static function getArrayStringEnumDefaultAllowableValues ()
284
284
{
285
285
return [
286
286
self ::ARRAY_STRING_ENUM_DEFAULT_SUCCESS ,
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ public function getModelName(): string
267
267
*
268
268
* @return string[]
269
269
*/
270
- public function getStatusAllowableValues ()
270
+ public static function getStatusAllowableValues ()
271
271
{
272
272
return [
273
273
self ::STATUS_AVAILABLE ,
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ public function getModelName(): string
243
243
*
244
244
* @return string[]
245
245
*/
246
- public function getOutcomesAllowableValues ()
246
+ public static function getOutcomesAllowableValues ()
247
247
{
248
248
return [
249
249
self ::OUTCOMES_SUCCESS ,
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ public function getModelName(): string
280
280
*
281
281
* @return string[]
282
282
*/
283
- public function getArrayStringEnumDefaultAllowableValues ()
283
+ public static function getArrayStringEnumDefaultAllowableValues ()
284
284
{
285
285
return [
286
286
self ::ARRAY_STRING_ENUM_DEFAULT_SUCCESS ,
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ public function getModelName(): string
267
267
*
268
268
* @return string[]
269
269
*/
270
- public function getStatusAllowableValues ()
270
+ public static function getStatusAllowableValues ()
271
271
{
272
272
return [
273
273
self ::STATUS_AVAILABLE ,
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ public function getModelName(): string
243
243
*
244
244
* @return string[]
245
245
*/
246
- public function getOutcomesAllowableValues ()
246
+ public static function getOutcomesAllowableValues ()
247
247
{
248
248
return [
249
249
self ::OUTCOMES_SUCCESS ,
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ public function getModelName(): string
243
243
*
244
244
* @return string[]
245
245
*/
246
- public function getJustSymbolAllowableValues ()
246
+ public static function getJustSymbolAllowableValues ()
247
247
{
248
248
return [
249
249
self ::JUST_SYMBOL_GREATER_THAN_OR_EQUAL_TO ,
@@ -256,7 +256,7 @@ public function getJustSymbolAllowableValues()
256
256
*
257
257
* @return string[]
258
258
*/
259
- public function getArrayEnumAllowableValues ()
259
+ public static function getArrayEnumAllowableValues ()
260
260
{
261
261
return [
262
262
self ::ARRAY_ENUM_FISH ,
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ public function getModelName(): string
285
285
*
286
286
* @return string[]
287
287
*/
288
- public function getEnumStringAllowableValues ()
288
+ public static function getEnumStringAllowableValues ()
289
289
{
290
290
return [
291
291
self ::ENUM_STRING_UPPER ,
@@ -299,7 +299,7 @@ public function getEnumStringAllowableValues()
299
299
*
300
300
* @return string[]
301
301
*/
302
- public function getEnumStringRequiredAllowableValues ()
302
+ public static function getEnumStringRequiredAllowableValues ()
303
303
{
304
304
return [
305
305
self ::ENUM_STRING_REQUIRED_UPPER ,
@@ -313,7 +313,7 @@ public function getEnumStringRequiredAllowableValues()
313
313
*
314
314
* @return string[]
315
315
*/
316
- public function getEnumIntegerAllowableValues ()
316
+ public static function getEnumIntegerAllowableValues ()
317
317
{
318
318
return [
319
319
self ::ENUM_INTEGER_NUMBER_1 ,
@@ -326,7 +326,7 @@ public function getEnumIntegerAllowableValues()
326
326
*
327
327
* @return string[]
328
328
*/
329
- public function getEnumNumberAllowableValues ()
329
+ public static function getEnumNumberAllowableValues ()
330
330
{
331
331
return [
332
332
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
253
253
*
254
254
* @return string[]
255
255
*/
256
- public function getMapOfEnumStringAllowableValues ()
256
+ public static function getMapOfEnumStringAllowableValues ()
257
257
{
258
258
return [
259
259
self ::MAP_OF_ENUM_STRING_UPPER ,
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ public function getModelName(): string
266
266
*
267
267
* @return string[]
268
268
*/
269
- public function getStatusAllowableValues ()
269
+ public static function getStatusAllowableValues ()
270
270
{
271
271
return [
272
272
self ::STATUS_PLACED ,
Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ public function getModelName(): string
240
240
*
241
241
* @return string[]
242
242
*/
243
- public function getTypeAllowableValues ()
243
+ public static function getTypeAllowableValues ()
244
244
{
245
245
return [
246
246
self ::TYPE_CHILD_WITH_NULLABLE ,
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ public function getModelName(): string
266
266
*
267
267
* @return string[]
268
268
*/
269
- public function getStatusAllowableValues ()
269
+ public static function getStatusAllowableValues ()
270
270
{
271
271
return [
272
272
self ::STATUS_AVAILABLE ,
You can’t perform that action at this time.
0 commit comments