Skip to content

Commit

Permalink
Fix throw exception line
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrokeil committed Dec 9, 2020
1 parent c59cd04 commit e564918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ValueObject/EnumFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ private function throwExceptionLine(string $argumentName): string
{
$argumentName = ($this->propertyNameFilter)($argumentName);

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

return 'throw Invalid' . $name . '::for' . $name . '($' . $argumentName . ');';
}
Expand Down

0 comments on commit e564918

Please sign in to comment.