Skip to content

Commit e564918

Browse files
committed
Fix throw exception line
1 parent c59cd04 commit e564918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ValueObject/EnumFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ private function throwExceptionLine(string $argumentName): string
299299
{
300300
$argumentName = ($this->propertyNameFilter)($argumentName);
301301

302-
$name = \ucfirst(($this->constValueFilter)($argumentName));
302+
$name = \ucfirst($argumentName);
303303

304304
return 'throw Invalid' . $name . '::for' . $name . '($' . $argumentName . ');';
305305
}

0 commit comments

Comments
 (0)