Skip to content

Commit

Permalink
Merge pull request #36 from dixonl90/dixonl90-update-readme-example
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
dannyvankooten authored Jan 21, 2021
2 parents b12b6e4 + 0a64241 commit bf983d8
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 bf983d8

Please sign in to comment.