Skip to content
Permalink
Browse files

Fix #1792 - allow scalar for sprintf

  • Loading branch information...
muglug committed Jun 15, 2019
1 parent d163086 commit fbd8faadaf70c90db6af92c0e56821a4f043e2be
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Psalm/Internal/CallMap.php
'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'],

0 comments on commit fbd8faa

Please sign in to comment.
You can’t perform that action at this time.