From: Siebrand Mazeland Date: Sat, 16 Nov 2013 20:02:28 +0000 (+0100) Subject: Add documentation for DerivativeRequest::__construct X-Git-Tag: 1.31.0-rc.0~18084^2 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=1032c5c3da3e573325333b265896495ff4d27c43;p=lhc%2Fweb%2Fwiklou.git Add documentation for DerivativeRequest::__construct Change-Id: I20e62d07b6a069b3c2b5b0cb67736ded294bcfb2 --- diff --git a/includes/WebRequest.php b/includes/WebRequest.php index 4ad7344f37..536ce12acf 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -1522,6 +1522,12 @@ class FauxRequest extends WebRequest { class DerivativeRequest extends FauxRequest { private $base; + /** + * @param WebRequest $base + * @param array $data Array of *non*-urlencoded key => value pairs, the + * fake GET/POST values + * @param bool $wasPosted Whether to treat the data as POST + */ public function __construct( WebRequest $base, $data, $wasPosted = false ) { $this->base = $base; parent::__construct( $data, $wasPosted );