Skip to content

Commit 72e7d1c

Browse files
committed
docs: fix @param $name
1 parent 8e0cb60 commit 72e7d1c

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

system/Helpers/cookie_helper.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
* Accepts seven parameters, or you can submit an associative
2626
* array in the first parameter containing all the values.
2727
*
28-
* @param array|string $name Cookie name or array containing binds
29-
* @param string $value The value of the cookie
30-
* @param string $expire The number of seconds until expiration
31-
* @param string $domain For site-wide cookie. Usually: .yourdomain.com
32-
* @param string $path The cookie path
33-
* @param string $prefix The cookie prefix ('': the default prefix)
34-
* @param bool|null $secure True makes the cookie secure
35-
* @param bool|null $httpOnly True makes the cookie accessible via http(s) only (no javascript)
36-
* @param string|null $sameSite The cookie SameSite value
28+
* @param array|Cookie|string $name Cookie name / array containing binds / Cookie object
29+
* @param string $value The value of the cookie
30+
* @param string $expire The number of seconds until expiration
31+
* @param string $domain For site-wide cookie. Usually: .yourdomain.com
32+
* @param string $path The cookie path
33+
* @param string $prefix The cookie prefix ('': the default prefix)
34+
* @param bool|null $secure True makes the cookie secure
35+
* @param bool|null $httpOnly True makes the cookie accessible via http(s) only (no javascript)
36+
* @param string|null $sameSite The cookie SameSite value
3737
*
3838
* @see \CodeIgniter\HTTP\Response::setCookie()
3939
*/

0 commit comments

Comments
 (0)