Skip to content

Commit

Permalink
Remove cast
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed May 18, 2024
1 parent cbb0ae6 commit d5c5277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HasParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private static function castToString($value): string
}

if ($value instanceof BackedEnum) {
return (string) $value->value;
return $value->value;
}

return (string) $value;
Expand Down

0 comments on commit d5c5277

Please sign in to comment.