X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fexternalstore%2FExternalStoreMedium.php;h=260ee172b38cf460ce0220410add19d3a2f9aeca;hb=7a0574a6a33ca7863dd4fcabe1fd17dfa7c8cb6e;hp=e9c34a4d478d12bdcd2fcb538b57c54accce2bb2;hpb=c45d497eda452d619b61b0da231c1c753d8cac93;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/externalstore/ExternalStoreMedium.php b/includes/externalstore/ExternalStoreMedium.php index e9c34a4d47..260ee172b3 100644 --- a/includes/externalstore/ExternalStoreMedium.php +++ b/includes/externalstore/ExternalStoreMedium.php @@ -30,12 +30,12 @@ */ abstract class ExternalStoreMedium { /** @var array */ - protected $params = array(); + protected $params = []; /** * @param array $params Options */ - public function __construct( array $params = array() ) { + public function __construct( array $params = [] ) { $this->params = $params; } @@ -55,7 +55,7 @@ abstract class ExternalStoreMedium { * @return array Map from the url to the text stored. Unfound data is not represented */ public function batchFetchFromURLs( array $urls ) { - $retval = array(); + $retval = []; foreach ( $urls as $url ) { $data = $this->fetchFromURL( $url ); // Dont return when false to allow for simpler implementations.