Skip to content

Commit d883d16

Browse files
minor #529 Update NumberFormatter::format return type (VincentLanglet)
This PR was merged into the 1.x branch. Discussion ---------- Update NumberFormatter::format return type I don't think it require more explanations ^^' Commits ------- fc009f5 Update NumberFormatter::format return type
2 parents c4ee386 + fc009f5 commit d883d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Intl/Icu/NumberFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public function formatCurrency(float $amount, string $currency)
340340
* @param int $type Type of the formatting, one of the format type constants.
341341
* Only type NumberFormatter::TYPE_DEFAULT is currently supported.
342342
*
343-
* @return bool|string The formatted value or false on error
343+
* @return false|string The formatted value or false on error
344344
*
345345
* @see https://php.net/numberformatter.format
346346
*

0 commit comments

Comments
 (0)