Remove public from interface defintion, as decleration in an interface is not valid

This commit is contained in:
Sam Reed 2010-12-15 11:30:54 +00:00
parent 9e2f22d191
commit 7bff03b3ad
2 changed files with 7 additions and 7 deletions

View 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()

View 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 );
}