Followup r94211
authorSam Reed <reedy@users.mediawiki.org>
Thu, 11 Aug 2011 00:17:58 +0000 (00:17 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 11 Aug 2011 00:17:58 +0000 (00:17 +0000)
Bug 30315 - Declaration of FauxResponse::setcookie() should be compatible with that of WebResponse::setcookie()

includes/WebResponse.php

index 39741e0..1101d75 100644 (file)
@@ -135,7 +135,7 @@ class FauxResponse extends WebResponse {
         * @param $value String: value to give cookie
         * @param $expire Int: number of seconds til cookie expires
         */
-       public function setcookie( $name, $value, $expire = 0 ) {
+       public function setcookie( $name, $value, $expire = 0, $prefix = null, $domain = null ) {
                $this->cookies[$name] = $value;
        }