We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81654ba commit f1c9693Copy full SHA for f1c9693
component/Web/UserAgent.php
@@ -95,7 +95,7 @@ public static function getBrowserFromString(string $userAgent): Browser
95
96
public static function fromString(string $userAgent): self
97
{
98
- return new self(
+ return new static(
99
device: self::getDeviceFromString($userAgent),
100
operatingSystem: self::getOperatingSystemFromString($userAgent),
101
browser: self::getBrowserFromString($userAgent)
0 commit comments