From cb0041f38b88df098fce50bdcea3fe28310d712f Mon Sep 17 00:00:00 2001 From: Pascal Borreli Date: Fri, 23 Dec 2016 11:19:15 +0000 Subject: [PATCH] Fixed typos --- components/client-common.rst | 2 +- integrations/symfony-bundle.rst | 2 +- plugins/logger.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/client-common.rst b/components/client-common.rst index ddfde39..8e1a616 100644 --- a/components/client-common.rst +++ b/components/client-common.rst @@ -59,7 +59,7 @@ It provides methods that give appropriate information based on a given request:: $batchResult = $client->sendRequests($requests); if ($batchResult->hasResponses()) { - $fooSuccessful = $batchResult->isSuccesful($requests[0]); + $fooSuccessful = $batchResult->isSuccessful($requests[0]); $updateResponse = $batchResult->getResponseFor($request[1]); } diff --git a/integrations/symfony-bundle.rst b/integrations/symfony-bundle.rst index 85eec5d..7726e83 100644 --- a/integrations/symfony-bundle.rst +++ b/integrations/symfony-bundle.rst @@ -153,7 +153,7 @@ You can configure your clients with default options. These default values will b // will be the same as ``httplug.client.my_guzzle5`` $httpClient = $this->container->get('httplug.client'); -The bundle has client factory services that you can use to build your client. If you need a very custom made client you could create your own factory service implementing ``Http\HttplugBudle\ClientFactory\ClientFactory``. The built-in services are: +The bundle has client factory services that you can use to build your client. If you need a very custom made client you could create your own factory service implementing ``Http\HttplugBundle\ClientFactory\ClientFactory``. The built-in services are: * ``httplug.factory.curl`` * ``httplug.factory.buzz`` diff --git a/plugins/logger.rst b/plugins/logger.rst index 9265c12..b6aff15 100644 --- a/plugins/logger.rst +++ b/plugins/logger.rst @@ -29,7 +29,7 @@ compliant logger:: By default it uses ``Http\Message\Formatter\SimpleFormatter`` to format the request or the response into a string. You can use any formatter implementing the ``Http\Message\Formatter`` interface:: - $formatter = new \My\Formatter\Implemenation(); + $formatter = new \My\Formatter\Implementation(); $loggerPlugin = new LoggerPlugin(new Logger('http'), $formatter);