From b16259c808e4ed63518a7c84ed47c813688537ac Mon Sep 17 00:00:00 2001 From: Richard Le Poidevin Date: Sat, 10 Jun 2017 11:59:22 +0100 Subject: [PATCH] Fixed typo in ArrayHydrator documentation (#363) ArrayHydrator was spelt wrong causing the example not to work --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d39806a..d5bd5ed 100644 --- a/README.md +++ b/README.md @@ -92,12 +92,12 @@ If you rather be working with array then object you can inject the `ArrayHydrato to the Mailgun class. ```php -use Mailgun\Hydrator\ArrayHydator; +use Mailgun\Hydrator\ArrayHydrator; $configurator = new HttpClientConfigurator(); $configurator->setApiKey('key-example'); -$mg = Mailgun::configure($configurator, new ArrayHydator()); +$mg = Mailgun::configure($configurator, new ArrayHydrator()); $data = $mg->domains()->show('example.com'); foreach ($data['receiving_dns_records'] as $record) {