make static functions static as they should be

This commit is contained in:
Ralf Becker 2016-03-19 10:44:00 +00:00
parent cebdc5c7ab
commit 0cd226b91d

View File

@ -24,7 +24,7 @@ class UserAgent
* *
* @return string 'firefox', 'msie', 'safari' (incl. iPhone), 'chrome', 'opera', 'konqueror', 'mozilla' * @return string 'firefox', 'msie', 'safari' (incl. iPhone), 'chrome', 'opera', 'konqueror', 'mozilla'
*/ */
public function type() public static function type()
{ {
return self::$user_agent; return self::$user_agent;
} }
@ -34,7 +34,7 @@ class UserAgent
* *
* @return string * @return string
*/ */
public function version() public static function version()
{ {
return self::$ua_version; return self::$ua_version;
} }
@ -44,7 +44,7 @@ class UserAgent
* *
* @return string "iphone", "ipod", "ipad", "android", "symbianos", "blackberry", "kindle", "opera mobi", "windows phone" * @return string "iphone", "ipod", "ipad", "android", "symbianos", "blackberry", "kindle", "opera mobi", "windows phone"
*/ */
public function mobile() public static function mobile()
{ {
return self::$ua_mobile; return self::$ua_mobile;
} }