Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Example should call Ibericode\Vat\Rates instead of Ibericode\Rates\Rates.
  • Loading branch information
dixonl90 authored Jan 20, 2021
1 parent b12b6e4 commit 0a64241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a64241

Please sign in to comment.