Skip to content
Permalink
Browse files

Fix argument type for sprintf(). (#1697)

* Fix argument type for sprintf().

* Fix argument types for mail().
  • Loading branch information...
ADmad authored and muglug committed May 27, 2019
1 parent 518330d commit 2eae79060ff547277632c8d0b20fc3791b4ab553
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Psalm/Internal/CallMap.php
@@ -6883,7 +6883,7 @@
'm_verifyconnection' => ['bool', 'conn'=>'resource', 'tf'=>'int'],
'm_verifysslcert' => ['bool', 'conn'=>'resource', 'tf'=>'int'],
'magic_quotes_runtime' => ['bool', 'new_setting'=>'bool'],
'mail' => ['bool', 'to'=>'string', 'subject'=>'string', 'message'=>'string', 'additional_headers='=>'string', 'additional_parameters='=>'string'],
'mail' => ['bool', 'to'=>'string', 'subject'=>'string', 'message'=>'string', 'additional_headers='=>'string|array|null', 'additional_parameters='=>'string|null'],
'mailparse_determine_best_xfer_encoding' => ['string', 'fp'=>'resource'],
'mailparse_msg_create' => ['resource'],
'mailparse_msg_extract_part' => ['void', 'mimemail'=>'resource', 'msgbody'=>'string', 'callbackfunc='=>'callable'],
'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'],
'sprintf' => ['string', 'format'=>'string', '...vars='=>'string|int|float|bool'],
'SQLite3::__construct' => ['void', 'filename'=>'string', 'flags='=>'int', 'encryption_key='=>'?string'],
'SQLite3::busyTimeout' => ['bool', 'msecs'=>'int'],
'SQLite3::changes' => ['int'],

0 comments on commit 2eae790

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