X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fexternalstore%2FExternalStoreHttp.php;h=8e1e49fa60f91fc5cff90a07df982a69c9c15aef;hb=32ae7651b8f6ae105d967873f53ab7a5cd228026;hp=00030d8521f9c0e4abfdc28af8b4182fe8a8ff80;hpb=8c087b9fd13d9302ec1be2176ef1ae344b3f8273;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/externalstore/ExternalStoreHttp.php b/includes/externalstore/ExternalStoreHttp.php index 00030d8521..8e1e49fa60 100644 --- a/includes/externalstore/ExternalStoreHttp.php +++ b/includes/externalstore/ExternalStoreHttp.php @@ -29,13 +29,20 @@ class ExternalStoreHttp extends ExternalStoreMedium { /** * @see ExternalStoreMedium::fetchFromURL() + * @param string $url + * @return string|bool + * @throws MWException */ public function fetchFromURL( $url ) { - return Http::get( $url, array(), __METHOD__ ); + return Http::get( $url, [], __METHOD__ ); } /** * @see ExternalStoreMedium::store() + * @param string $cluster + * @param string $data + * @return string|bool + * @throws MWException */ public function store( $cluster, $data ) { throw new MWException( "ExternalStoreHttp is read-only and does not support store()." );