X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fexternalstore%2FExternalStoreMedium.php;h=41af7d87ef25d285cf0ebc057cecd8ee05122f17;hb=d514374a0062202d680af131a8479eace677be70;hp=99d5fc3ca2c625df4d9addf98d6ce64ea7f7c114;hpb=63d6a736ffafb7e2d405f964d562fa9e001561c0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/externalstore/ExternalStoreMedium.php b/includes/externalstore/ExternalStoreMedium.php index 99d5fc3ca2..41af7d87ef 100644 --- a/includes/externalstore/ExternalStoreMedium.php +++ b/includes/externalstore/ExternalStoreMedium.php @@ -33,7 +33,7 @@ abstract class ExternalStoreMedium { protected $params = array(); /** - * @param $params array Options + * @param array $params Options */ public function __construct( array $params = array() ) { $this->params = $params; @@ -42,19 +42,19 @@ abstract class ExternalStoreMedium { /** * 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 */ - public abstract function fetchFromURL( $url ); + abstract public function fetchFromURL( $url ); /** * 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 */ - public abstract function store( $location, $data ); + abstract public function store( $location, $data ); }