PHP Linting (Pint)
This commit is contained in:
committed by
github-actions[bot]
parent
4cb82af4c1
commit
9ffdea3702
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user