Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / migrate_plus / src / DataFetcherPluginInterface.php
index a64b47923c0b85e4e5e8b703a310fedfa38207ef..f35042fcff88d13476bd96fa2f94b65213ca39d1 100644 (file)
@@ -15,7 +15,7 @@ interface DataFetcherPluginInterface {
   /**
    * Set the client headers.
    *
-   * @param $headers
+   * @param array $headers
    *   An array of the headers to set on the HTTP request.
    */
   public function setRequestHeaders(array $headers);
@@ -28,7 +28,7 @@ interface DataFetcherPluginInterface {
   /**
    * Return content.
    *
-   * @param $url
+   * @param string $url
    *   URL to retrieve from.
    *
    * @return string
@@ -39,10 +39,11 @@ interface DataFetcherPluginInterface {
   /**
    * Return Http Response object for a given url.
    *
-   * @param $url
+   * @param string $url
    *   URL to retrieve from.
    *
    * @return \Psr\Http\Message\ResponseInterface
+   *   The HTTP response message.
    */
   public function getResponse($url);