mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix formatCurrency return type
This commit is contained in:
parent
dcc663625f
commit
90ac39d89f
@ -9028,7 +9028,7 @@ return [
|
||||
'NumberFormatter::__construct' => ['void', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
|
||||
'NumberFormatter::create' => ['NumberFormatter|false', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
|
||||
'NumberFormatter::format' => ['string|false', 'num'=>'', 'type='=>'int'],
|
||||
'NumberFormatter::formatCurrency' => ['string', 'num'=>'float', 'currency'=>'string'],
|
||||
'NumberFormatter::formatCurrency' => ['string|false', 'num'=>'float', 'currency'=>'string'],
|
||||
'NumberFormatter::getAttribute' => ['int|false', 'attr'=>'int'],
|
||||
'NumberFormatter::getErrorCode' => ['int'],
|
||||
'NumberFormatter::getErrorMessage' => ['string'],
|
||||
|
@ -4420,7 +4420,7 @@ return [
|
||||
'NumberFormatter::__construct' => ['void', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
|
||||
'NumberFormatter::create' => ['NumberFormatter|false', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
|
||||
'NumberFormatter::format' => ['string|false', 'num'=>'', 'type='=>'int'],
|
||||
'NumberFormatter::formatCurrency' => ['string', 'num'=>'float', 'currency'=>'string'],
|
||||
'NumberFormatter::formatCurrency' => ['string|false', 'num'=>'float', 'currency'=>'string'],
|
||||
'NumberFormatter::getAttribute' => ['int|false', 'attr'=>'int'],
|
||||
'NumberFormatter::getErrorCode' => ['int'],
|
||||
'NumberFormatter::getErrorMessage' => ['string'],
|
||||
|
Loading…
Reference in New Issue
Block a user