1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Fix #1792 - allow scalar for sprintf

This commit is contained in:
Matthew Brown 2019-06-15 11:56:59 -04:00
parent d1630863ad
commit fbd8faadaf

View File

@ -13184,7 +13184,7 @@ return [
'Spoofchecker::setAllowedLocales' => ['void', 'locale_list'=>'string'],
'Spoofchecker::setChecks' => ['void', 'checks'=>'long'],
'Spoofchecker::setRestrictionLevel' => ['void', 'restriction_level'=>'int'],
'sprintf' => ['string', 'format'=>'string', '...vars='=>'string|int|float|bool'],
'sprintf' => ['string', 'format'=>'string', '...vars='=>'scalar'],
'SQLite3::__construct' => ['void', 'filename'=>'string', 'flags='=>'int', 'encryption_key='=>'?string'],
'SQLite3::busyTimeout' => ['bool', 'msecs'=>'int'],
'SQLite3::changes' => ['int'],