Skip to content

Commit c2731cf

Browse files
authored
Fix HttpClientInterface path in HttpClient documentation
1 parent 38edd48 commit c2731cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

http_client.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ Basic Usage
2222
Use the :class:`Symfony\\Component\\HttpClient\\HttpClient` class to make
2323
requests. In the Symfony framework, this class is available as the
2424
``http_client`` service. This service will be :doc:`autowired </service_container/autowiring>`
25-
automatically when type-hinting for :class:`Symfony\\Component\\HttpClient\\HttpClientInterface`:
25+
automatically when type-hinting for :class:`Symfony\\Contracts\\HttpClient\\HttpClientInterface`:
2626

2727
.. configuration-block::
2828

2929
.. code-block:: php-symfony
3030
31-
use Symfony\Component\HttpClient\HttpClientInterface;
31+
use Symfony\Contracts\HttpClient\HttpClientInterface;
3232
3333
class SymfonyDocs
3434
{

0 commit comments

Comments
 (0)