Skip to content

Commit

Permalink
Add missing @throws tags
Browse files Browse the repository at this point in the history
  • Loading branch information
spaze committed Sep 11, 2020
1 parent 2e9e4f1 commit f049893
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/VatCalculator.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ public function getTaxRateForLocation(string $countryCode, ?string $postalCode,
* @param string $vatNumber
* @return bool
* @throws VatCheckUnavailableException
* @throws UnsupportedCountryException
*/
public function isValidVatNumber(string $vatNumber): bool
{
Expand All @@ -140,6 +141,7 @@ public function isValidVatNumber(string $vatNumber): bool
* @param string|null $requesterVatNumber
* @return VatDetails
* @throws VatCheckUnavailableException
* @throws UnsupportedCountryException
*/
public function getVatDetails(string $vatNumber, ?string $requesterVatNumber = null): VatDetails
{
Expand Down

0 comments on commit f049893

Please sign in to comment.