diff --git a/src/FioApi/Downloader.php b/src/FioApi/Downloader.php index 89682e3..0887f8f 100644 --- a/src/FioApi/Downloader.php +++ b/src/FioApi/Downloader.php @@ -21,7 +21,7 @@ class Downloader /** @var ?ClientInterface */ protected $client; - public function __construct(string $token, ClientInterface $client = null) + public function __construct(string $token, ?ClientInterface $client = null) { $this->urlBuilder = new UrlBuilder($token); $this->client = $client;