From 6d71f7d7ba282d128f69ef2441a9292e3d3f7e4b Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Fri, 2 May 2014 15:57:39 -0700 Subject: [PATCH] [ticket/10521] Update docblock of set_cookie for new HttpOnly param PHPBB3-10521 --- phpBB/phpbb/session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/session.php b/phpBB/phpbb/session.php index c9e04e1401..ea421ffcf3 100644 --- a/phpBB/phpbb/session.php +++ b/phpBB/phpbb/session.php @@ -1045,7 +1045,7 @@ class session * @param string $name Name of the cookie, will be automatically prefixed with the phpBB cookie name. track becomes [cookie_name]_track then. * @param string $cookiedata The data to hold within the cookie * @param int $cookietime The expiration time as UNIX timestamp. If 0 is provided, a session cookie is set. - * @param int $httponly Use HttpOnly. Defaults to true. Use false to make cookie accessible by client-side scripts. + * @param bool $httponly Use HttpOnly. Defaults to true. Use false to make cookie accessible by client-side scripts. */ function set_cookie($name, $cookiedata, $cookietime, $httponly = true) {