File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class Rates
38
38
* @param int $refreshInterval How often to check for new VAT rates. Defaults to every 12 hours.
39
39
* @param Client|null $client The VAT client to use.
40
40
*/
41
- public function __construct (string $ storagePath , int $ refreshInterval = 12 * 3600 , Client $ client = null )
41
+ public function __construct (string $ storagePath , int $ refreshInterval = 12 * 3600 , ? Client $ client = null )
42
42
{
43
43
$ this ->refreshInterval = $ refreshInterval ;
44
44
$ this ->storagePath = $ storagePath ;
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class Validator
55
55
*
56
56
* @param Vies\Client $client (optional)
57
57
*/
58
- public function __construct (Vies \Client $ client = null )
58
+ public function __construct (? Vies \Client $ client = null )
59
59
{
60
60
$ this ->client = $ client ?: new Vies \Client ();
61
61
}
You can’t perform that action at this time.
0 commit comments