From fddcd02644cd09683891adb60b9c214758a4be6d Mon Sep 17 00:00:00 2001 From: MRui Date: Mon, 1 Jun 2026 18:08:59 +0100 Subject: [PATCH] Update constructor to use nullable type hinting --- src/Snowplow/RefererParser/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Snowplow/RefererParser/Parser.php b/src/Snowplow/RefererParser/Parser.php index 0c8931d..d39b85a 100644 --- a/src/Snowplow/RefererParser/Parser.php +++ b/src/Snowplow/RefererParser/Parser.php @@ -14,7 +14,7 @@ class Parser */ protected $internalHosts = []; - public function __construct(ConfigReaderInterface $configReader = null, array $internalHosts = []) + public function __construct(?ConfigReaderInterface $configReader = null, array $internalHosts = []) { $this->configReader = $configReader ?: static::createDefaultConfigReader(); $this->internalHosts = $internalHosts;