Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions system/Cookie/Cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,19 @@ public static function fromHeaderString(string $cookie, bool $raw = false)
/**
* Construct a new Cookie instance.
*
* @param string $name The cookie's name
* @param string $value The cookie's value
* @param array{prefix?: string, max-age?: int|numeric-string, expires?: DateTimeInterface|int|string, path?: string, domain?: string, secure?: bool, httponly?: bool, samesite?: string, raw?: bool} $options The cookie's options
* @param string $name The cookie's name
* @param string $value The cookie's value
* @param array{
* prefix?: string,
* max-age?: int|numeric-string,
* expires?: DateTimeInterface|int|string,
* path?: string,
* domain?: string,
* secure?: bool,
* httponly?: bool,
* samesite?: string,
* raw?: bool,
* } $options The cookie's options
*
* @throws CookieException
*/
Expand Down
Loading