Skip to content

Commit ccb1d4d

Browse files
committed
Improved setcookie() and setrawcookie() signatures
1 parent 35db779 commit ccb1d4d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

resources/functionMap.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -10149,13 +10149,14 @@
1014910149
'set_magic_quotes_runtime' => ['bool', 'new_setting'=>'bool'],
1015010150
'set_time_limit' => ['bool', 'seconds'=>'int'],
1015110151
'setcookie' => ['bool', 'name'=>'string', 'value='=>'string', 'expires='=>'int', 'path='=>'string', 'domain='=>'string', 'secure='=>'bool', 'httponly='=>'bool', 'samesite='=>'string', 'url_encode='=>'int'],
10152-
'setcookie\'1' => ['bool', 'name'=>'string', 'value='=>'string', 'options='=>'array'],
10152+
'setcookie\'1' => ['bool', 'name'=>'string', 'value='=>'string', 'options='=>'array{ expires?:int, path?:string, domain?:string, secure?:bool, httponly?:bool, samesite?:\'None\'|\'Lax\'|\'Strict\', url_encode?:int}'],
1015310153
'setLeftFill' => ['void', 'red'=>'int', 'green'=>'int', 'blue'=>'int', 'a='=>'int'],
1015410154
'setLine' => ['void', 'width'=>'int', 'red'=>'int', 'green'=>'int', 'blue'=>'int', 'a='=>'int'],
1015510155
'setlocale' => ['string|false', 'category'=>'int', 'locale'=>'string|null', '...args='=>'string'],
1015610156
'setlocale\'1' => ['string|false', 'category'=>'int', 'locale'=>'?array'],
1015710157
'setproctitle' => ['void', 'title'=>'string'],
10158-
'setrawcookie' => ['bool', 'name'=>'string', 'value='=>'string', 'expires='=>'int', 'path='=>'string', 'domain='=>'string', 'secure='=>'bool', 'httponly='=>'bool'],
10158+
'setrawcookie' => ['bool', 'name'=>'string', 'value='=>'string', 'expires='=>'int', 'path='=>'string', 'domain='=>'string', 'secure='=>'bool', 'httponly='=>'bool', 'samesite='=>'string', 'url_encode='=>'int'],
10159+
'setrawcookie\'1' => ['bool', 'name'=>'string', 'value='=>'string', 'options='=>'array{ expires?:int, path?:string, domain?:string, secure?:bool, httponly?:bool, samesite?:\'None\'|\'Lax\'|\'Strict\', url_encode?:int}'],
1015910160
'setRightFill' => ['void', 'red'=>'int', 'green'=>'int', 'blue'=>'int', 'a='=>'int'],
1016010161
'setthreadtitle' => ['bool', 'title'=>'string'],
1016110162
'settype' => ['bool', '&rw_var'=>'mixed', 'type'=>'string'],

0 commit comments

Comments
 (0)