mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Fix #1792 - allow scalar for sprintf
This commit is contained in:
parent
d1630863ad
commit
fbd8faadaf
@ -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'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user