From 4ac9fa081a7c045f6a9f1cfc529d82423f485b2e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 8 Dec 2013 09:55:49 +0100 Subject: Update to MediaWiki 1.22.0 --- includes/Cookie.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'includes/Cookie.php') diff --git a/includes/Cookie.php b/includes/Cookie.php index 27a85072..ecf4667d 100644 --- a/includes/Cookie.php +++ b/includes/Cookie.php @@ -82,7 +82,8 @@ class Cookie { * http://publicsuffix.org/ * * @todo fixme fails to detect 3-letter top-level domains - * @todo fixme fails to detect 2-letter top-level domains for single-domain use (probably not a big problem in practice, but there are test cases) + * @todo fixme fails to detect 2-letter top-level domains for single-domain use (probably + * not a big problem in practice, but there are test cases) * * @param string $domain the domain to validate * @param string $originDomain (optional) the domain the cookie originates from @@ -197,7 +198,7 @@ class CookieJar { * Set a cookie in the cookie jar. Make sure only one cookie per-name exists. * @see Cookie::set() */ - public function setCookie ( $name, $value, $attr ) { + public function setCookie( $name, $value, $attr ) { /* cookies: case insensitive, so this should work. * We'll still send the cookies back in the same case we got them, though. */ @@ -235,7 +236,7 @@ class CookieJar { * @param string $domain cookie's domain * @return null */ - public function parseCookieResponseHeader ( $cookie, $domain ) { + public function parseCookieResponseHeader( $cookie, $domain ) { $len = strlen( 'Set-Cookie:' ); if ( substr_compare( 'Set-Cookie:', $cookie, 0, $len, true ) === 0 ) { -- cgit v1.2.2