aboutsummaryrefslogtreecommitdiffstats
path: root/includes/content/ContentHandler.php
diff options
context:
space:
mode:
authorumherirrender <umherirrender_de.wp@web.de>2013-01-26 20:00:09 +0100
committerumherirrender <umherirrender_de.wp@web.de>2013-01-26 20:00:09 +0100
commitfac189e26a232dcbbb657d6fe2f761754c64c810 (patch)
tree585885405256699d642f67ea9cbf409028127e66 /includes/content/ContentHandler.php
parent54bd7598d6222c04d191def490a0f71d1f81870a (diff)
downloadmediawikicore-fac189e26a232dcbbb657d6fe2f761754c64c810.tar.gz
mediawikicore-fac189e26a232dcbbb657d6fe2f761754c64c810.zip
The abstract declaration must precede the visibility declaration
From phpcs Change-Id: I169c80a911ba75d64ab8a503088903ce3b8a7cca
Diffstat (limited to 'includes/content/ContentHandler.php')
-rw-r--r--includes/content/ContentHandler.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/content/ContentHandler.php b/includes/content/ContentHandler.php
index ccc9b2c45c5e..0dc7455caa79 100644
--- a/includes/content/ContentHandler.php
+++ b/includes/content/ContentHandler.php
@@ -413,7 +413,7 @@ abstract class ContentHandler {
* @param $format null|String The desired serialization format
* @return string Serialized form of the content
*/
- public abstract function serializeContent( Content $content, $format = null );
+ abstract public function serializeContent( Content $content, $format = null );
/**
* Unserializes a Content object of the type supported by this ContentHandler.
@@ -424,7 +424,7 @@ abstract class ContentHandler {
* @param $format null|String the format used for serialization
* @return Content the Content object created by deserializing $blob
*/
- public abstract function unserializeContent( $blob, $format = null );
+ abstract public function unserializeContent( $blob, $format = null );
/**
* Creates an empty Content object of the type supported by this
@@ -434,7 +434,7 @@ abstract class ContentHandler {
*
* @return Content
*/
- public abstract function makeEmptyContent();
+ abstract public function makeEmptyContent();
/**
* Creates a new Content object that acts as a redirect to the given page,