X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontext%2FRequestContext.php;h=4291e4456b44e31697c7d584159a6d876752956d;hb=6253af3e56257738d7de12fcc13ab2bb475ba4ba;hp=978ef03c3f01915799daf1e190bedae21d1a0b4c;hpb=c6df6a527cf84a2df7a85a25266cecb2e6ec0694;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/context/RequestContext.php b/includes/context/RequestContext.php index 978ef03c3f..4291e4456b 100644 --- a/includes/context/RequestContext.php +++ b/includes/context/RequestContext.php @@ -86,6 +86,7 @@ class RequestContext implements IContextSource { if ( $this->config === null ) { $this->config = Config::factory(); } + return $this->config; } @@ -130,7 +131,7 @@ class RequestContext implements IContextSource { /** * Get the Title object * - * @return Title + * @return Title|null */ public function getTitle() { if ( $this->title === null ) { @@ -203,7 +204,7 @@ class RequestContext implements IContextSource { } /** - * @param $o OutputPage + * @param OutputPage $o */ public function setOutput( OutputPage $o ) { $this->output = $o; @@ -435,7 +436,7 @@ class RequestContext implements IContextSource { * Export the resolved user IP, HTTP headers, user ID, and session ID. * The result will be reasonably sized to allow for serialization. * - * @return Array + * @return array * @since 1.21 */ public function exportSession() {