ApiDisabled.php: fix copyright symbol, coding style tweaks
authorJack Phoenix <ashley@users.mediawiki.org>
Sun, 21 Feb 2010 18:09:00 +0000 (18:09 +0000)
committerJack Phoenix <ashley@users.mediawiki.org>
Sun, 21 Feb 2010 18:09:00 +0000 (18:09 +0000)
includes/api/ApiDisabled.php

index a19a6d4..64155ed 100644 (file)
@@ -1,10 +1,10 @@
 <?php
 
-/*
+/**
  * Created on Sep 25, 2008
  * API for MediaWiki 1.8+
  *
- * Copyright (C) 2008 Roan Kattouw <Firstname>.<Lastname>@home.nl
+ * Copyright © 2008 Roan Kattouw <Firstname>.<Lastname>@home.nl
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -24,7 +24,7 @@
 
 if ( !defined( 'MEDIAWIKI' ) ) {
        // Eclipse helper - will be ignored in production
-       require_once ( "ApiBase.php" );
+       require_once( "ApiBase.php" );
 }
 
 /**
@@ -40,7 +40,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
 class ApiDisabled extends ApiBase {
 
        public function __construct( $main, $action ) {
-               parent :: __construct( $main, $action );
+               parent::__construct( $main, $action );
        }
 
        public function execute() {
@@ -52,11 +52,11 @@ class ApiDisabled extends ApiBase {
        }
 
        public function getAllowedParams() {
-               return array ();
+               return array();
        }
 
        public function getParamDescription() {
-               return array ();
+               return array();
        }
 
        public function getDescription() {
@@ -66,7 +66,7 @@ class ApiDisabled extends ApiBase {
        }
 
        protected function getExamples() {
-               return array ();
+               return array();
        }
 
        public function getVersion() {