File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class ServerMetric {
1515
1616 const CACHE_UPTIME_TTL = 300 ;
1717
18- public static function & getLatestResponseTime ($ server_id ) {
18+ public static function getLatestResponseTime ($ server_id ) {
1919 $ cache_key = "bnetdocs-servermetric-lastms- " . (int ) $ server_id ;
2020 $ cache_val = Common::$ cache ->get ($ cache_key );
2121 if ($ cache_val !== false ) return $ cache_val ;
@@ -40,7 +40,7 @@ public static function &getLatestResponseTime($server_id) {
4040 return $ obj ->response_time ;
4141 }
4242
43- public static function & getUptime ($ server_id ) {
43+ public static function getUptime ($ server_id ) {
4444 $ cache_key = "bnetdocs-servermetric-uptime- " . (int ) $ server_id ;
4545 $ cache_val = Common::$ cache ->get ($ cache_key );
4646 if ($ cache_val !== false ) return unserialize ($ cache_val );
You can’t perform that action at this time.
0 commit comments