From 0cd226b91da61fee3197c9294f4e3c9ac5919d65 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 19 Mar 2016 10:44:00 +0000 Subject: [PATCH] make static functions static as they should be --- api/src/Header/UserAgent.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/Header/UserAgent.php b/api/src/Header/UserAgent.php index 514e0b93b5..b4beadce0a 100644 --- a/api/src/Header/UserAgent.php +++ b/api/src/Header/UserAgent.php @@ -24,7 +24,7 @@ class UserAgent * * @return string 'firefox', 'msie', 'safari' (incl. iPhone), 'chrome', 'opera', 'konqueror', 'mozilla' */ - public function type() + public static function type() { return self::$user_agent; } @@ -34,7 +34,7 @@ class UserAgent * * @return string */ - public function version() + public static function version() { return self::$ua_version; } @@ -44,7 +44,7 @@ class UserAgent * * @return string "iphone", "ipod", "ipad", "android", "symbianos", "blackberry", "kindle", "opera mobi", "windows phone" */ - public function mobile() + public static function mobile() { return self::$ua_mobile; }