1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

According to the PHP docs the session_name signature is: (#4855)

session_name ([ string|null $name = null ] ) : string|false

Resolves Possibly incorrect handling of session_name() #4854
This commit is contained in:
Christer Edvartsen 2020-12-17 02:40:46 +01:00 committed by Daniil Gentili
parent cecbceae41
commit 3f86e8cb94
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -11928,7 +11928,7 @@ return [
'session_id' => ['string', 'id='=>'string'],
'session_is_registered' => ['bool', 'name'=>'string'],
'session_module_name' => ['string', 'module='=>'string'],
'session_name' => ['string', 'name='=>'string'],
'session_name' => ['string|false', 'name='=>'string'],
'session_pgsql_add_error' => ['bool', 'error_level'=>'int', 'error_message='=>'string'],
'session_pgsql_get_error' => ['array', 'with_error_message='=>'bool'],
'session_pgsql_get_field' => ['string'],