diff --git a/http_client.rst b/http_client.rst index 427ca49d8de..4932e7d5106 100644 --- a/http_client.rst +++ b/http_client.rst @@ -26,13 +26,13 @@ Basic Usage Use the :class:`Symfony\\Component\\HttpClient\\HttpClient` class to make requests. In the Symfony framework, this class is available as the ``http_client`` service. This service will be :doc:`autowired ` -automatically when type-hinting for :class:`Symfony\\Component\\HttpClient\\HttpClientInterface`: +automatically when type-hinting for :class:`Symfony\\Contracts\\HttpClient\\HttpClientInterface`: .. configuration-block:: .. code-block:: php-symfony - use Symfony\Component\HttpClient\HttpClientInterface; + use Symfony\Contracts\HttpClient\HttpClientInterface; class SymfonyDocs {