Merge "Improve "selfmove" message's wording"
[lhc/web/wiklou.git] / includes / externalstore / ExternalStoreHttp.php
index 00030d8..8e1e49f 100644 (file)
 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()." );