diff options
Diffstat (limited to 'includes/api')
-rw-r--r-- | includes/api/ApiBase.php | 2 | ||||
-rw-r--r-- | includes/api/ApiFormatBase.php | 2 | ||||
-rw-r--r-- | includes/api/ApiQueryBase.php | 2 | ||||
-rw-r--r-- | includes/api/ApiQueryORM.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 78525e00f022..1741c915d0b7 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -105,7 +105,7 @@ abstract class ApiBase extends ContextSource { * The result data should be stored in the ApiResult object available * through getResult(). */ - public abstract function execute(); + abstract public function execute(); /** * Returns a string that identifies the version of the extending class. diff --git a/includes/api/ApiFormatBase.php b/includes/api/ApiFormatBase.php index e8edb3d7e009..5bbc62e1093b 100644 --- a/includes/api/ApiFormatBase.php +++ b/includes/api/ApiFormatBase.php @@ -58,7 +58,7 @@ abstract class ApiFormatBase extends ApiBase { * This method is not called if getIsHtml() returns true. * @return string */ - public abstract function getMimeType(); + abstract public function getMimeType(); /** * Whether this formatter needs raw data such as _element tags diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php index 02d071b7f0a6..2a8645f62d01 100644 --- a/includes/api/ApiQueryBase.php +++ b/includes/api/ApiQueryBase.php @@ -623,5 +623,5 @@ abstract class ApiQueryGeneratorBase extends ApiQueryBase { * @param $resultPageSet ApiPageSet: All output should be appended to * this object */ - public abstract function executeGenerator( $resultPageSet ); + abstract public function executeGenerator( $resultPageSet ); } diff --git a/includes/api/ApiQueryORM.php b/includes/api/ApiQueryORM.php index f0c2b1b37ec1..41d8f11c7037 100644 --- a/includes/api/ApiQueryORM.php +++ b/includes/api/ApiQueryORM.php @@ -35,7 +35,7 @@ abstract class ApiQueryORM extends ApiQueryBase { * * @return IORMTable */ - protected abstract function getTable(); + abstract protected function getTable(); /** * Returns the name of the individual rows. |