Skip to content

fix(pricing): correct formatterStyle parameter type from string to int#2520

Open
sgregor wants to merge 1 commit into
lunarphp:1.xfrom
sgregor:fix/formatter-style-type
Open

fix(pricing): correct formatterStyle parameter type from string to int#2520
sgregor wants to merge 1 commit into
lunarphp:1.xfrom
sgregor:fix/formatter-style-type

Conversation

@sgregor

@sgregor sgregor commented Jun 24, 2026

Copy link
Copy Markdown

The NumberFormatter::CURRENCY constant is an int, so the type hint was incorrect. This fixes strict type compatibility when passing formatter style constants.

The NumberFormatter::CURRENCY constant is an int, so the type hint was
incorrect. This fixes strict type compatibility when passing formatter
style constants.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant