diff --git a/api/src/Header/UserAgent.php b/api/src/Header/UserAgent.php index 49970e3e4e..81f2d18662 100644 --- a/api/src/Header/UserAgent.php +++ b/api/src/Header/UserAgent.php @@ -32,11 +32,11 @@ class UserAgent /** * Version of user-agent as specified by browser * - * @return string + * @return integer */ public static function version() { - return self::$ua_version; + return (int)self::$ua_version; } /**