From 94f35a117c43dd43e71439e549e11584550e7d00 Mon Sep 17 00:00:00 2001 From: tkstrony Date: Mon, 3 Feb 2025 11:39:14 +0100 Subject: [PATCH] Fix PHP 8.4 deprecation warning --- src/Embera/Embera.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Embera/Embera.php b/src/Embera/Embera.php index 6a502c7..4fd838f 100755 --- a/src/Embera/Embera.php +++ b/src/Embera/Embera.php @@ -62,7 +62,7 @@ class Embera * @param HttpClientInterface $httpClient * @return void */ - public function __construct(array $config = [], ProviderCollectionInterface $collection = null, HttpClientInterface $httpClient = null) + public function __construct(array $config = [], ?ProviderCollectionInterface $collection = null, ?HttpClientInterface $httpClient = null) { $this->config = array_merge([ 'https_only' => false,