@@ -385,7 +385,7 @@ public function listInvalidProperties(): array
385385 {
386386 $ invalidProperties = [];
387387
388- $ allowedValues = $ this -> getEnumStringAllowableValues ();
388+ $ allowedValues = self :: getEnumStringAllowableValues ();
389389 if (!is_null ($ this ->container ['enum_string ' ]) && !in_array ($ this ->container ['enum_string ' ], $ allowedValues , true )) {
390390 $ invalidProperties [] = sprintf (
391391 "invalid value '%s' for 'enum_string', must be one of '%s' " ,
@@ -397,7 +397,7 @@ public function listInvalidProperties(): array
397397 if ($ this ->container ['enum_string_required ' ] === null ) {
398398 $ invalidProperties [] = "'enum_string_required' can't be null " ;
399399 }
400- $ allowedValues = $ this -> getEnumStringRequiredAllowableValues ();
400+ $ allowedValues = self :: getEnumStringRequiredAllowableValues ();
401401 if (!is_null ($ this ->container ['enum_string_required ' ]) && !in_array ($ this ->container ['enum_string_required ' ], $ allowedValues , true )) {
402402 $ invalidProperties [] = sprintf (
403403 "invalid value '%s' for 'enum_string_required', must be one of '%s' " ,
@@ -406,7 +406,7 @@ public function listInvalidProperties(): array
406406 );
407407 }
408408
409- $ allowedValues = $ this -> getEnumIntegerAllowableValues ();
409+ $ allowedValues = self :: getEnumIntegerAllowableValues ();
410410 if (!is_null ($ this ->container ['enum_integer ' ]) && !in_array ($ this ->container ['enum_integer ' ], $ allowedValues , true )) {
411411 $ invalidProperties [] = sprintf (
412412 "invalid value '%s' for 'enum_integer', must be one of '%s' " ,
@@ -415,7 +415,7 @@ public function listInvalidProperties(): array
415415 );
416416 }
417417
418- $ allowedValues = $ this -> getEnumNumberAllowableValues ();
418+ $ allowedValues = self :: getEnumNumberAllowableValues ();
419419 if (!is_null ($ this ->container ['enum_number ' ]) && !in_array ($ this ->container ['enum_number ' ], $ allowedValues , true )) {
420420 $ invalidProperties [] = sprintf (
421421 "invalid value '%s' for 'enum_number', must be one of '%s' " ,
@@ -461,7 +461,7 @@ public function setEnumString(?string $enum_string): static
461461 if (is_null ($ enum_string )) {
462462 throw new InvalidArgumentException ('non-nullable enum_string cannot be null ' );
463463 }
464- $ allowedValues = $ this -> getEnumStringAllowableValues ();
464+ $ allowedValues = self :: getEnumStringAllowableValues ();
465465 if (!in_array ($ enum_string , $ allowedValues , true )) {
466466 throw new InvalidArgumentException (
467467 sprintf (
@@ -498,7 +498,7 @@ public function setEnumStringRequired(string $enum_string_required): static
498498 if (is_null ($ enum_string_required )) {
499499 throw new InvalidArgumentException ('non-nullable enum_string_required cannot be null ' );
500500 }
501- $ allowedValues = $ this -> getEnumStringRequiredAllowableValues ();
501+ $ allowedValues = self :: getEnumStringRequiredAllowableValues ();
502502 if (!in_array ($ enum_string_required , $ allowedValues , true )) {
503503 throw new InvalidArgumentException (
504504 sprintf (
@@ -535,7 +535,7 @@ public function setEnumInteger(?int $enum_integer): static
535535 if (is_null ($ enum_integer )) {
536536 throw new InvalidArgumentException ('non-nullable enum_integer cannot be null ' );
537537 }
538- $ allowedValues = $ this -> getEnumIntegerAllowableValues ();
538+ $ allowedValues = self :: getEnumIntegerAllowableValues ();
539539 if (!in_array ($ enum_integer , $ allowedValues , true )) {
540540 throw new InvalidArgumentException (
541541 sprintf (
@@ -572,7 +572,7 @@ public function setEnumNumber(?float $enum_number): static
572572 if (is_null ($ enum_number )) {
573573 throw new InvalidArgumentException ('non-nullable enum_number cannot be null ' );
574574 }
575- $ allowedValues = $ this -> getEnumNumberAllowableValues ();
575+ $ allowedValues = self :: getEnumNumberAllowableValues ();
576576 if (!in_array ($ enum_number , $ allowedValues , true )) {
577577 throw new InvalidArgumentException (
578578 sprintf (
0 commit comments