dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Normalise documentation in tests/selenium"
[lhc/web/wiklou.git]
/
includes
/
externalstore
/
ExternalStoreMedium.php
diff --git
a/includes/externalstore/ExternalStoreMedium.php
b/includes/externalstore/ExternalStoreMedium.php
index
99d5fc3
..
41af7d8
100644
(file)
--- a/
includes/externalstore/ExternalStoreMedium.php
+++ b/
includes/externalstore/ExternalStoreMedium.php
@@
-33,7
+33,7
@@
abstract class ExternalStoreMedium {
protected $params = array();
/**
protected $params = array();
/**
- * @param
$params array
Options
+ * @param
array $params
Options
*/
public function __construct( array $params = array() ) {
$this->params = $params;
*/
public function __construct( array $params = array() ) {
$this->params = $params;
@@
-42,19
+42,19
@@
abstract class ExternalStoreMedium {
/**
* Fetch data from given external store URL
*
/**
* Fetch data from given external store URL
*
- * @param
$url string
An external store URL
+ * @param
string $url
An external store URL
* @return string|bool The text stored or false on error
* @throws MWException
*/
* @return string|bool The text stored or false on error
* @throws MWException
*/
-
public abstract
function fetchFromURL( $url );
+
abstract public
function fetchFromURL( $url );
/**
* Insert a data item into a given location
*
/**
* Insert a data item into a given location
*
- * @param
$location string:
the location name
- * @param
$data string:
the data item
+ * @param
string $location
the location name
+ * @param
string $data
the data item
* @return string|bool The URL of the stored data item, or false on error
* @throws MWException
*/
* @return string|bool The URL of the stored data item, or false on error
* @throws MWException
*/
-
public abstract
function store( $location, $data );
+
abstract public
function store( $location, $data );
}
}