From 21dcd29a80be2f5e20bd39560c51bf7ef24d4608 Mon Sep 17 00:00:00 2001 From: Reedy Date: Sun, 20 Dec 2015 23:04:24 +0000 Subject: [PATCH] Add @since tags to FauxRequest::getRequestURL()/setRequestURL() Change-Id: I6c104fe2df258eda15ebf8df089390dcdb80a3ef --- includes/WebRequest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/includes/WebRequest.php b/includes/WebRequest.php index 824e684891..23eb63b4fa 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -1297,10 +1297,17 @@ class FauxRequest extends WebRequest { return false; } + /** + * @since 1.25 + */ public function setRequestURL( $url ) { $this->requestUrl = $url; } + /** + * @since 1.25 MWException( "getRequestURL not implemented" ) + * no longer thrown. + */ public function getRequestURL() { if ( $this->requestUrl === null ) { throw new MWException( 'Request URL not set' ); -- 2.20.1