Skip to content

Commit

Permalink
Fix Country typehints for optional values.
Browse files Browse the repository at this point in the history
Completes the fix from 2f4cbde.

Fixes #196.
  • Loading branch information
bojanz committed Jul 2, 2023
1 parent c02df2f commit 54c70e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Country/Country.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ final class Country
/**
* The three-letter country code.
*/
protected string $threeLetterCode;
protected ?string $threeLetterCode = null;

/**
* The numeric country code.
*/
protected string $numericCode;
protected ?string $numericCode = null;

protected string $currencyCode;
protected ?string $currencyCode = null;

/**
* The locale (i.e. "en_US").
Expand Down

0 comments on commit 54c70e7

Please sign in to comment.