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
3838 * @param int $refreshInterval How often to check for new VAT rates. Defaults to every 12 hours.
3939 * @param Client|null $client The VAT client to use.
4040 */
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 )
4242 {
4343 $ this ->refreshInterval = $ refreshInterval ;
4444 $ this ->storagePath = $ storagePath ;
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class Validator
5555 *
5656 * @param Vies\Client $client (optional)
5757 */
58- public function __construct (Vies \Client $ client = null )
58+ public function __construct (? Vies \Client $ client = null )
5959 {
6060 $ this ->client = $ client ?: new Vies \Client ();
6161 }
You can’t perform that action at this time.
0 commit comments