diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php index a5a04cd..07aaf6e 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php @@ -12,7 +12,7 @@ use Drupal\aggregator\Plugin\Core\Entity\Feed; use Drupal\Core\Annotation\Translation; use Drupal\Core\Plugin\ContainerFactoryPluginBase; -use Guzzle\Http\Client; +use Guzzle\Http\ClientInterface; use Guzzle\Http\Exception\BadResponseException; use Guzzle\Http\Exception\RequestException; use Symfony\Component\DependencyInjection\ContainerInterface; @@ -33,17 +33,17 @@ class DefaultFetcher extends ContainerFactoryPluginBase implements FetcherInterf /** * The HTTP client to fetch the feed data with. * - * @var \Guzzle\Http\Client + * @var \Guzzle\Http\ClientInterface */ protected $httpClient; /** * Constructs a DefaultFetcher object. * - * @param \Guzzle\Http\Client $http_client + * @param \Guzzle\Http\ClientInterface $http_client * A Guzzle client object. */ - public function __construct(Client $http_client) { + public function __construct(ClientInterface $http_client) { $this->httpClient = $http_client; }