The static declaration must come after the visibility declartion
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 23 Nov 2013 13:42:32 +0000 (14:42 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 23 Nov 2013 13:42:32 +0000 (14:42 +0100)
Change-Id: I7f4646a5eb3acc7209b243c82a5a496daf82cf8f

includes/gallery/ImageGalleryBase.php
includes/parser/CoreParserFunctions.php

index f8b8c50..f85f3a7 100644 (file)
@@ -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',
index 44c7458..f57d412 100644 (file)
@@ -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;
                }