X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCookie.php;h=48216f0d87c9b2da08458a005268c6455b2391e0;hb=39142e28044c514fc2841ee78f811e63eaf3e636;hp=7984d63e3445b4219ad5a2cc28ce839d5a51eee8;hpb=67e23ec357d2265bc487bdd4b63e30fcaf5871c7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Cookie.php b/includes/Cookie.php index 7984d63e34..48216f0d87 100644 --- a/includes/Cookie.php +++ b/includes/Cookie.php @@ -40,14 +40,15 @@ class Cookie { /** * Sets a cookie. Used before a request to set up any individual - * cookies. Used internally after a request to parse the + * cookies. Used internally after a request to parse the * Set-Cookie headers. * * @param $value String: the value of the cookie * @param $attr Array: possible key/values: - * expires A date string - * path The path this cookie is used on - * domain Domain this cookie is used on + * expires A date string + * path The path this cookie is used on + * domain Domain this cookie is used on + * @throws MWException */ public function set( $value, $attr ) { $this->value = $value; @@ -193,7 +194,7 @@ class CookieJar { private $cookie = array(); /** - * Set a cookie in the cookie jar. Make sure only one cookie per-name exists. + * Set a cookie in the cookie jar. Make sure only one cookie per-name exists. * @see Cookie::set() */ public function setCookie ( $name, $value, $attr ) {