From 0a64241c1c8004f9c09c74163f57a0d1b52725cd Mon Sep 17 00:00:00 2001 From: dixonl90 Date: Wed, 20 Jan 2021 14:20:56 +0000 Subject: [PATCH] Update README.md Example should call Ibericode\Vat\Rates instead of Ibericode\Rates\Rates. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7cd35a2..e96df99 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ This library exposes 4 main classes to interact with: `Rates`, `Countries`, `Val #### Retrieving VAT rates. ```php -$rates = new Ibericode\Rates\Rates('/path-for-storing-cache-file.txt'); +$rates = new Ibericode\Vat\Rates('/path-for-storing-cache-file.txt'); $rates->getRateForCountry('NL'); // 21 $rates->getRateForCountry('NL', 'standard'); // 21 $rates->getRateForCountry('NL', 'reduced'); // 9