mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
Merge pull request #7301 from swiffer/4.x
change nullable for array signature to be equal to param signature
This commit is contained in:
commit
491213976b
@ -12069,7 +12069,7 @@ return [
|
||||
'session_reset' => ['bool'],
|
||||
'session_save_path' => ['string', 'path='=>'string'],
|
||||
'session_set_cookie_params' => ['bool', 'lifetime'=>'int', 'path='=>'?string', 'domain='=>'?string', 'secure='=>'?bool', 'httponly='=>'?bool'],
|
||||
'session_set_cookie_params\'1' => ['bool', 'options'=>'array{lifetime?:int,path?:string,domain?:?string,secure?:bool,httponly?:bool,samesite?:string}'],
|
||||
'session_set_cookie_params\'1' => ['bool', 'options'=>'array{lifetime?:?int,path?:?string,domain?:?string,secure?:?bool,httponly?:?bool,samesite?:?string}'],
|
||||
'session_set_save_handler' => ['bool', 'open'=>'callable(string,string):bool', 'close'=>'callable():bool', 'read'=>'callable(string):string', 'write'=>'callable(string,string):bool', 'destroy'=>'callable(string):bool', 'gc'=>'callable(string):bool', 'create_sid='=>'callable():string', 'validate_sid='=>'callable(string):bool', 'update_timestamp='=>'callable(string):bool'],
|
||||
'session_set_save_handler\'1' => ['bool', 'open'=>'SessionHandlerInterface', 'close='=>'bool'],
|
||||
'session_start' => ['bool', 'options='=>'array'],
|
||||
|
@ -7,7 +7,7 @@
|
||||
* The 'added' section contains function/method names from FunctionSignatureMap (And alternates, if applicable) that do not exist in php 7.2
|
||||
* The 'removed' section contains the signatures that were removed in php 7.3.
|
||||
* The 'changed' section contains functions for which the signature has changed for php 7.3.
|
||||
* Each function in the 'changed' section has an 'old' and a 'new' section,
|
||||
* Each function in the 'changed' section has an 'old' and a 'new' section,
|
||||
* representing the function as it was in PHP 7.2 and in PHP 7.3, respectively
|
||||
*
|
||||
* @see CallMap.php
|
||||
@ -42,7 +42,7 @@ return [
|
||||
'is_countable' => ['bool', 'value'=>'mixed'],
|
||||
'net_get_interfaces' => ['array<string,array<string,mixed>>|false'],
|
||||
'openssl_pkey_derive' => ['string|false', 'public_key'=>'mixed', 'private_key'=>'mixed', 'key_length='=>'?int'],
|
||||
'session_set_cookie_params\'1' => ['bool', 'options'=>'array{lifetime?:int,path?:string,domain?:?string,secure?:bool,httponly?:bool,samesite?:string}'],
|
||||
'session_set_cookie_params\'1' => ['bool', 'options'=>'array{lifetime?:?int,path?:?string,domain?:?string,secure?:?bool,httponly?:?bool,samesite?:?string}'],
|
||||
'setcookie\'1' => ['bool', 'name'=>'string', 'value='=>'string', 'options='=>'array'],
|
||||
'setrawcookie\'1' => ['bool', 'name'=>'string', 'value='=>'string', 'options='=>'array'],
|
||||
'socket_wsaprotocol_info_export' => ['string|false', 'socket'=>'resource', 'process_id'=>'int'],
|
||||
|
Loading…
Reference in New Issue
Block a user