Skip to content

Commit 07d5ac4

Browse files
committed
fix: Apply string type for samesite Cookie
1 parent be2cae6 commit 07d5ac4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

system/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ function config(string $name, bool $getShared = true)
226226
* domain?: string,
227227
* secure?: bool,
228228
* httponly?: bool,
229-
* samesite?: 'Lax'|'None'|'Strict'|string,
229+
* samesite?: string,
230230
* raw?: bool
231231
* } $options Cookie configuration options
232232
*

system/Helpers/cookie_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* domain?: string,
3737
* secure?: bool,
3838
* httponly?: bool,
39-
* samesite?: 'Lax'|'None'|'Strict'|string,
39+
* samesite?: string,
4040
* raw?: bool
4141
* }|Cookie|string $name Cookie name / array containing binds / Cookie object
4242
* @param string $value The value of the cookie

0 commit comments

Comments
 (0)