From bda585ea6cf9a2e40521fff2cd31b8413fac78d9 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Thu, 30 May 2019 12:53:59 +0200 Subject: [PATCH] [HttpClient] Fixed some wrong class FQCN --- reference/configuration/framework.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index ed2db8fb45b..ce0008002cd 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -685,7 +685,7 @@ http_client When the HttpClient component is installed, an HTTP client is available as a service named ``http_client`` or using the autowiring alias -:class:`Symfony\\Constracts\\HttpClient\\HttpClientInterface`. +:class:`Symfony\\Contracts\\HttpClient\\HttpClientInterface`. This service can be configured using ``framework.http_client.default_options``: @@ -722,7 +722,7 @@ use default options. Each scoped client also defines a corresponding named autowiring alias. If you use for example -``Symfony\Constracts\HttpClient\HttpClientInterface $myApiClient`` +``Symfony\Contracts\HttpClient\HttpClientInterface $myApiClient`` as the type and name of an argument, autowiring will inject the ``my_api.client`` service into your autowired classes.