Skip to content

Commit 64652cb

Browse files
MartkCzondrejmirtes
authored andcommitted
Fix incorrect type for NumberFormatter:format() and NumberFormatter::formatCurrency()
1 parent 87b213d commit 64652cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/functionMap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7783,8 +7783,8 @@
77837783
'number_format' => ['string', 'number'=>'float', 'num_decimal_places='=>'int', 'dec_separator='=>'string|null', 'thousands_separator='=>'string|null'],
77847784
'NumberFormatter::__construct' => ['void', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
77857785
'NumberFormatter::create' => ['NumberFormatter', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
7786-
'NumberFormatter::format' => ['string', 'num'=>'', 'type='=>'int'],
7787-
'NumberFormatter::formatCurrency' => ['string', 'num'=>'float', 'currency'=>'string'],
7786+
'NumberFormatter::format' => ['string|false', 'num'=>'', 'type='=>'int'],
7787+
'NumberFormatter::formatCurrency' => ['string|false', 'num'=>'float', 'currency'=>'string'],
77887788
'NumberFormatter::getAttribute' => ['int', 'attr'=>'int'],
77897789
'NumberFormatter::getErrorCode' => ['int'],
77907790
'NumberFormatter::getErrorMessage' => ['string'],

0 commit comments

Comments
 (0)