Skip to content

Commit a54cdb0

Browse files
committed
Fix samesite cookie argument precision
1 parent 5626b41 commit a54cdb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/functionMap.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10383,7 +10383,7 @@
1038310383
'session_destroy' => ['bool'],
1038410384
'session_encode' => ['string|false'],
1038510385
'session_gc' => ['int|false'],
10386-
'session_get_cookie_params' => ['array{lifetime:0|positive-int,path:non-falsy-string,domain:string,secure:bool,httponly:bool,samesite:string}'],
10386+
'session_get_cookie_params' => ['array{lifetime:0|positive-int,path:non-falsy-string,domain:string,secure:bool,httponly:bool,samesite:\'None\'|\'Lax\'|\'Strict\'|\'none\'|\'lax\'|\'strict\'}'],
1038710387
'session_id' => ['string|false', 'newid='=>'string'],
1038810388
'session_is_registered' => ['bool', 'name'=>'string'],
1038910389
'session_module_name' => ['string|false', 'newname='=>'string'],
@@ -10400,7 +10400,7 @@
1040010400
'session_reset' => ['bool'],
1040110401
'session_save_path' => ['string|false', 'newname='=>'string'],
1040210402
'session_set_cookie_params' => ['bool', 'lifetime'=>'int', 'path='=>'string', 'domain='=>'?string', 'secure='=>'bool', 'httponly='=>'bool'],
10403-
'session_set_cookie_params\'1' => ['bool', 'options'=>'array{lifetime?:int,path?:string,domain?:?string,secure?:bool,httponly?:bool,samesite?:string}'],
10403+
'session_set_cookie_params\'1' => ['bool', 'options'=>'array{lifetime?:int,path?:string,domain?:?string,secure?:bool,httponly?:bool,samesite?:\'None\'|\'Lax\'|\'Strict\'|\'none\'|\'lax\'|\'strict\'}'],
1040410404
'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'],
1040510405
'session_set_save_handler\'1' => ['bool', 'sessionhandler'=>'SessionHandlerInterface', 'register_shutdown='=>'bool'],
1040610406
'session_start' => ['bool', 'options='=>'array'],

0 commit comments

Comments
 (0)