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 "Remove use of implicitGroupby() in WikiPage"
[lhc/web/wiklou.git]
/
includes
/
externalstore
/
ExternalStoreHttp.php
diff --git
a/includes/externalstore/ExternalStoreHttp.php
b/includes/externalstore/ExternalStoreHttp.php
index
c1f0651
..
8e1e49f
100644
(file)
--- a/
includes/externalstore/ExternalStoreHttp.php
+++ b/
includes/externalstore/ExternalStoreHttp.php
@@
-29,6
+29,9
@@
class ExternalStoreHttp extends ExternalStoreMedium {
/**
* @see ExternalStoreMedium::fetchFromURL()
class ExternalStoreHttp extends ExternalStoreMedium {
/**
* @see ExternalStoreMedium::fetchFromURL()
+ * @param string $url
+ * @return string|bool
+ * @throws MWException
*/
public function fetchFromURL( $url ) {
return Http::get( $url, [], __METHOD__ );
*/
public function fetchFromURL( $url ) {
return Http::get( $url, [], __METHOD__ );
@@
-36,6
+39,10
@@
class ExternalStoreHttp extends ExternalStoreMedium {
/**
* @see ExternalStoreMedium::store()
/**
* @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()." );
*/
public function store( $cluster, $data ) {
throw new MWException( "ExternalStoreHttp is read-only and does not support store()." );