Skip to content
Permalink
Browse files

Allow setLocale to have 0 or null as parameters (#1993)

  • Loading branch information...
BackEndTea authored and muglug committed Aug 9, 2019
1 parent dec612a commit 5b2f54bbcb15f0b2253045db2444324c8a9fcc10
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Psalm/Internal/CallMap.php
@@ -11744,7 +11744,7 @@
'setcookie\'1' => ['bool', 'name'=>'string', 'value='=>'string', 'options='=>'array'],
'setLeftFill' => ['void', 'red'=>'int', 'green'=>'int', 'blue'=>'int', 'a='=>'int'],
'setLine' => ['void', 'width'=>'int', 'red'=>'int', 'green'=>'int', 'blue'=>'int', 'a='=>'int'],
'setlocale' => ['string|false', 'category'=>'int', 'locale'=>'string', '...args='=>'string'],
'setlocale' => ['string|false', 'category'=>'int', 'locale'=>'string|0|null', '...args='=>'string'],
'setlocale\'1' => ['string|false', 'category'=>'int', 'locale'=>'?array'],
'setproctitle' => ['void', 'title'=>'string'],
'setrawcookie' => ['bool', 'name'=>'string', 'value='=>'string', 'expires='=>'int', 'path='=>'string', 'domain='=>'string', 'secure='=>'bool', 'httponly='=>'bool'],

0 comments on commit 5b2f54b

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