From: Niklas Laxström Date: Wed, 11 Jan 2012 19:47:21 +0000 (+0000) Subject: Apparently we can commit code that doesn't compile but I am not allowed to have commi... X-Git-Tag: 1.31.0-rc.0~25342 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=7a8d6d8e716d4ac65f1936f3889c7855c88203cc;p=lhc%2Fweb%2Fwiklou.git Apparently we can commit code that doesn't compile but I am not allowed to have commit summary as "){} -> ) {}" --- diff --git a/includes/Wiki.php b/includes/Wiki.php index 8bb6055fbe..f0aa4ae7d7 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -38,13 +38,13 @@ class MediaWiki { */ private $performedAction = 'nosuchaction'; - public function request( WebRequest $x = null ){ + public function request( WebRequest $x = null ) { $old = $this->context->getRequest(); $this->context->setRequest( $x ); return $old; } - public function output( OutputPage $x = null ){ + public function output( OutputPage $x = null ) { $old = $this->context->getOutput(); $this->context->setOutput( $x ); return $old; @@ -119,7 +119,7 @@ class MediaWiki { * Get the Title object that we'll be acting on, as specified in the WebRequest * @return Title */ - public function getTitle(){ + public function getTitle() { if( $this->context->getTitle() === null ){ $this->context->setTitle( $this->parseTitle() ); } @@ -556,7 +556,7 @@ class MediaWiki { * * @return string: action */ - public function getPerformedAction(){ + public function getPerformedAction() { return $this->performedAction; }