Skip to content

Commit fc009f5

Browse files
Update NumberFormatter::format return type
1 parent c4ee386 commit fc009f5

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)