From 3fcceafc601444412ce65297ba4ce878ee77e450 Mon Sep 17 00:00:00 2001 From: sgiehl Date: Mon, 19 Jul 2021 10:24:00 +0200 Subject: [PATCH] Ensure userAgent is always of type string --- DeviceDetector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DeviceDetector.php b/DeviceDetector.php index dd717c8f92..0e9ddf74bc 100644 --- a/DeviceDetector.php +++ b/DeviceDetector.php @@ -92,7 +92,7 @@ class DeviceDetector * Holds the useragent that should be parsed * @var string */ - protected $userAgent; + protected $userAgent = ''; /** * Holds the operating system data after parsing the UA