X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FFauxRequest.php;h=2f7f75b4d7b87d4809d4eb75f648efa6f5988ec1;hb=e07cc5010b68c8f9963b589f5416b85c170e3ac4;hp=3b2283b77a8ab299ef1671dc4801e52763226b53;hpb=d9f412635fa4057a4b3b4d174b798c28dc54b038;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/FauxRequest.php b/includes/FauxRequest.php index 3b2283b77a..2f7f75b4d7 100644 --- a/includes/FauxRequest.php +++ b/includes/FauxRequest.php @@ -126,7 +126,7 @@ class FauxRequest extends WebRequest { /** * @since 1.26 - * @param string $name Unprefixed name of the cookie to set + * @param string $key Unprefixed name of the cookie to set * @param string|null $value Value of the cookie to set * @param string|null $prefix Cookie prefix. Defaults to $wgCookiePrefix */ @@ -152,6 +152,7 @@ class FauxRequest extends WebRequest { /** * @since 1.25 + * @param string $url */ public function setRequestURL( $url ) { $this->requestUrl = $url; @@ -160,6 +161,7 @@ class FauxRequest extends WebRequest { /** * @since 1.25 MWException( "getRequestURL not implemented" ) * no longer thrown. + * @return string */ public function getRequestURL() { if ( $this->requestUrl === null ) {