From: umherirrender Date: Sat, 23 Nov 2013 13:42:32 +0000 (+0100) Subject: The static declaration must come after the visibility declartion X-Git-Tag: 1.31.0-rc.0~17944^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=2b980a226f6b3ee8ef3ca5d2c36ccf4e62075a81;p=lhc%2Fweb%2Fwiklou.git The static declaration must come after the visibility declartion Change-Id: I7f4646a5eb3acc7209b243c82a5a496daf82cf8f --- diff --git a/includes/gallery/ImageGalleryBase.php b/includes/gallery/ImageGalleryBase.php index f8b8c505b1..f85f3a71cf 100644 --- a/includes/gallery/ImageGalleryBase.php +++ b/includes/gallery/ImageGalleryBase.php @@ -74,7 +74,7 @@ abstract class ImageGalleryBase extends ContextSource { } } - static private function loadModes() { + private static function loadModes() { if ( self::$modeMapping === false ) { self::$modeMapping = array( 'traditional' => 'TraditionalImageGallery', diff --git a/includes/parser/CoreParserFunctions.php b/includes/parser/CoreParserFunctions.php index 44c7458161..f57d412c44 100644 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@ -427,7 +427,7 @@ class CoreParserFunctions { * @param mixed $value value to match * @return boolean true on successful match */ - static private function matchAgainstMagicword( $magicword, $value ) { + private static function matchAgainstMagicword( $magicword, $value ) { if ( strval( $value ) === '' ) { return false; }