This commit is contained in:
Henry Whitaker
2021-03-07 13:46:53 +00:00
parent 2861196cff
commit ac4fd6cb20
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ class SpeedtestCommand extends Command
{
$this->info('Running speedtest, this might take a while...');
$results = SpeedtestHelper::runSpeedtest(false, false);
$results = $this->speedtestProvider->run(false, false);
if (!is_object($results)) {
$this->error('Something went wrong running the speedtest.');

View File

@@ -67,7 +67,7 @@ class SpeedtestLatestCommand extends Command
$this->info('Running speedtest, this might take a while...');
$results = SpeedtestHelper::runSpeedtest();
$results = $this->speedtestProvider->run();
$this->info('Ping: ' . $results->ping . ' ms');
$this->info('Download: ' . $results->download . ' Mbit/s');