Skip to content

Commit

Permalink
explode(): Passing null to parameter #2 ($string) of type string is d…
Browse files Browse the repository at this point in the history
…eprecated
  • Loading branch information
escopecz committed Jun 9, 2023
1 parent 59d8e7a commit 35b8b46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class MaxMindDoNotSellDownloadHelper
public function __construct($auth, LoggerInterface $logger, HttpClientInterface $httpClient, CoreParametersHelper $coreParametersHelper)
{
$this->logger = $logger;
$this->auth = explode(':', $auth, 2);
$this->auth = explode(':', (string) $auth, 2);
$this->httpClient = $httpClient;
$this->listPath = $coreParametersHelper->get('maxmind_do_not_sell_list_path') ?? '';
}
Expand Down

0 comments on commit 35b8b46

Please sign in to comment.