From 2b980a226f6b3ee8ef3ca5d2c36ccf4e62075a81 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 23 Nov 2013 14:42:32 +0100 Subject: [PATCH] The static declaration must come after the visibility declartion Change-Id: I7f4646a5eb3acc7209b243c82a5a496daf82cf8f --- includes/gallery/ImageGalleryBase.php | 2 +- includes/parser/CoreParserFunctions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.20.1