mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Merge pull request #8349 from VincentLanglet/formatCurrency
Fix formatCurrency return type
This commit is contained in:
commit
6998fabb2b
@ -9028,7 +9028,7 @@ return [
|
|||||||
'NumberFormatter::__construct' => ['void', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
|
'NumberFormatter::__construct' => ['void', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
|
||||||
'NumberFormatter::create' => ['NumberFormatter|false', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
|
'NumberFormatter::create' => ['NumberFormatter|false', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
|
||||||
'NumberFormatter::format' => ['string|false', 'num'=>'', 'type='=>'int'],
|
'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::getAttribute' => ['int|false', 'attr'=>'int'],
|
||||||
'NumberFormatter::getErrorCode' => ['int'],
|
'NumberFormatter::getErrorCode' => ['int'],
|
||||||
'NumberFormatter::getErrorMessage' => ['string'],
|
'NumberFormatter::getErrorMessage' => ['string'],
|
||||||
|
@ -4420,7 +4420,7 @@ return [
|
|||||||
'NumberFormatter::__construct' => ['void', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
|
'NumberFormatter::__construct' => ['void', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
|
||||||
'NumberFormatter::create' => ['NumberFormatter|false', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
|
'NumberFormatter::create' => ['NumberFormatter|false', 'locale'=>'string', 'style'=>'int', 'pattern='=>'string'],
|
||||||
'NumberFormatter::format' => ['string|false', 'num'=>'', 'type='=>'int'],
|
'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::getAttribute' => ['int|false', 'attr'=>'int'],
|
||||||
'NumberFormatter::getErrorCode' => ['int'],
|
'NumberFormatter::getErrorCode' => ['int'],
|
||||||
'NumberFormatter::getErrorMessage' => ['string'],
|
'NumberFormatter::getErrorMessage' => ['string'],
|
||||||
|
Loading…
Reference in New Issue
Block a user