Remove public from interface defintion, as decleration in an interface is not valid
authorSam Reed <reedy@users.mediawiki.org>
Wed, 15 Dec 2010 11:30:54 +0000 (11:30 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 15 Dec 2010 11:30:54 +0000 (11:30 +0000)
includes/HistoryBlob.php
includes/LocalisationCache.php

index fe2b48b..6e20b0f 100644 (file)
@@ -14,14 +14,14 @@ interface HistoryBlob
         *
         * @return String: the key for getItem()
         */
-       public function addItem( $text );
+       function addItem( $text );
 
        /**
         * Get item by key, or false if the key is not present
         *
         * @return String or false
         */
-       public function getItem( $key );
+       function getItem( $key );
 
        /**
         * Set the "default text"
@@ -31,7 +31,7 @@ interface HistoryBlob
         *
         * Default text is not required for two-part external storage URLs.
         */
-       public function setText( $text );
+       function setText( $text );
 
        /**
         * Get default text. This is called from Revision::getRevisionText()
index 1253caa..f9dcd00 100644 (file)
@@ -729,24 +729,24 @@ interface LCStore {
         * @param $code Language code
         * @param $key Cache key
         */
-       public function get( $code, $key );
+       function get( $code, $key );
 
        /**
         * Start a write transaction.
         * @param $code Language code
         */
-       public function startWrite( $code );
+       function startWrite( $code );
 
        /**
         * Finish a write transaction.
         */
-       public function finishWrite();
+       function finishWrite();
 
        /**
         * Set a key to a given value. startWrite() must be called before this
         * is called, and finishWrite() must be called afterwards.
         */
-       public function set( $key, $value );
+       function set( $key, $value );
 
 }