Skip to content

Commit

Permalink
error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Smeagolworms4 committed May 16, 2022
1 parent a948d86 commit 1a8b9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EnumType.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ protected function checkValue($value): void {
$enum = $this->getEnum();
if (!call_user_func($enum.'::isValid', $value)) {
throw new InvalidArgumentException(sprintf(
'The value %s not valid forclass %s value must be: %S',
'The value %s not valid forclass %s value must be: %s',
$value,
EnumEntity::class,
implode(', ', call_user_func($enum.'::getValues'))
Expand Down

0 comments on commit 1a8b9f3

Please sign in to comment.