We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c59cd04 commit e564918Copy full SHA for e564918
src/ValueObject/EnumFactory.php
@@ -299,7 +299,7 @@ private function throwExceptionLine(string $argumentName): string
299
{
300
$argumentName = ($this->propertyNameFilter)($argumentName);
301
302
- $name = \ucfirst(($this->constValueFilter)($argumentName));
+ $name = \ucfirst($argumentName);
303
304
return 'throw Invalid' . $name . '::for' . $name . '($' . $argumentName . ');';
305
}
0 commit comments