Apparently we can commit code that doesn't compile but I am not allowed to have commit summary as "){} -> ) {}"

This commit is contained in:
Niklas Laxström 2012-01-11 19:47:21 +00:00
parent b2d11c0336
commit 7a8d6d8e71

View file

@ -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;
}