diff options
Diffstat (limited to 'vendor/commerceguys/intl/src/Formatter/CurrencyFormatterInterface.php')
-rw-r--r-- | vendor/commerceguys/intl/src/Formatter/CurrencyFormatterInterface.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/commerceguys/intl/src/Formatter/CurrencyFormatterInterface.php b/vendor/commerceguys/intl/src/Formatter/CurrencyFormatterInterface.php index 3fc25fcc6..217171a4c 100644 --- a/vendor/commerceguys/intl/src/Formatter/CurrencyFormatterInterface.php +++ b/vendor/commerceguys/intl/src/Formatter/CurrencyFormatterInterface.php @@ -33,7 +33,7 @@ interface CurrencyFormatterInterface * * @return string The formatted number. */ - public function format($number, $currencyCode, array $options = []); + public function format(string $number, string $currencyCode, array $options = []): string; /** * Parses a formatted currency amount. @@ -50,5 +50,5 @@ interface CurrencyFormatterInterface * * @return string|false The parsed number or FALSE on error. */ - public function parse($number, $currencyCode, array $options = []); + public function parse(string $number, string $currencyCode, array $options = []): string|bool; } |