PHP Linting (Pint)

This commit is contained in:
notnullxyz
2023-11-01 06:51:40 +00:00
committed by github-actions[bot]
parent 4cb82af4c1
commit 9ffdea3702

View File

@@ -5,7 +5,6 @@ namespace App\Commands;
use Carbon\Carbon; use Carbon\Carbon;
use Illuminate\Console\Command; use Illuminate\Console\Command;
use Illuminate\Support\Facades\Http; use Illuminate\Support\Facades\Http;
use Illuminate\Http\Client;
class EcowittExportCommand extends Command class EcowittExportCommand extends Command
{ {
@@ -95,7 +94,6 @@ class EcowittExportCommand extends Command
$this->times = data_get($ecowitt, 'times', []); $this->times = data_get($ecowitt, 'times', []);
// Temperature in C // Temperature in C
$this->debug('fetch outTemp'); $this->debug('fetch outTemp');
$outdoorTemp = $this->getData($ecowitt, 'list.tempf.list.tempf'); $outdoorTemp = $this->getData($ecowitt, 'list.tempf.list.tempf');
@@ -166,6 +164,7 @@ class EcowittExportCommand extends Command
foreach ($outdoorTemp as $date => $temp) { foreach ($outdoorTemp as $date => $temp) {
if (! $temp) { if (! $temp) {
$this->debug('Skipping a bogus index'); $this->debug('Skipping a bogus index');
continue; continue;
} }
$this->debug('unpacking $temp: '.$temp); $this->debug('unpacking $temp: '.$temp);