aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2014-05-02 15:57:39 -0700
committerMatt Friedman <maf675@gmail.com>2014-05-02 15:57:39 -0700
commit6d71f7d7ba282d128f69ef2441a9292e3d3f7e4b (patch)
tree2ec66defc0ae0bc2994090d39d31e014a8a78522
parent257ff46659cb2f35514b21a5345dd68b666e6994 (diff)
downloadforums-6d71f7d7ba282d128f69ef2441a9292e3d3f7e4b.tar
forums-6d71f7d7ba282d128f69ef2441a9292e3d3f7e4b.tar.gz
forums-6d71f7d7ba282d128f69ef2441a9292e3d3f7e4b.tar.bz2
forums-6d71f7d7ba282d128f69ef2441a9292e3d3f7e4b.tar.xz
forums-6d71f7d7ba282d128f69ef2441a9292e3d3f7e4b.zip
[ticket/10521] Update docblock of set_cookie for new HttpOnly param
PHPBB3-10521
-rw-r--r--phpBB/phpbb/session.php2
1 files changed, 1 insertions, 1 deletions
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)
{