Some experimenting
This commit is contained in:
parent
10d9568289
commit
ee8baae426
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* Hybula Looking Glass
|
||||
@ -412,7 +413,7 @@ class LookingGlass
|
||||
{
|
||||
$getLatency = self::getLatencyFromSs(self::detectIpAddress());
|
||||
if (isset($getLatency[0])) {
|
||||
return (float)round($getLatency[0]['latency'], 2);
|
||||
return round((float)$getLatency[0]['latency'], 2);
|
||||
} else {
|
||||
return 0.00;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user