Skip to content

Commit b34d97e

Browse files
committed
minor #14017 Fix HttpClientInterface path in HttpClient documentation (nicofrand)
This PR was merged into the 4.4 branch. Discussion ---------- Fix HttpClientInterface path in HttpClient documentation Hi, the HttpClientInterface path is wrong: the interface is a contract, not a component. Commits ------- 8b788f3 Fix HttpClientInterface path in HttpClient documentation
2 parents a6828a1 + 8b788f3 commit b34d97e

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
@@ -26,13 +26,13 @@ Basic Usage
2626
Use the :class:`Symfony\\Component\\HttpClient\\HttpClient` class to make
2727
requests. In the Symfony framework, this class is available as the
2828
``http_client`` service. This service will be :doc:`autowired </service_container/autowiring>`
29-
automatically when type-hinting for :class:`Symfony\\Component\\HttpClient\\HttpClientInterface`:
29+
automatically when type-hinting for :class:`Symfony\\Contracts\\HttpClient\\HttpClientInterface`:
3030

3131
.. configuration-block::
3232

3333
.. code-block:: php-symfony
3434
35-
use Symfony\Component\HttpClient\HttpClientInterface;
35+
use Symfony\Contracts\HttpClient\HttpClientInterface;
3636
3737
class SymfonyDocs
3838
{

0 commit comments

Comments
 (0)