chore: run pint

This commit is contained in:
Benjamin Nussbaum 2025-06-03 18:18:25 +02:00
parent 78f1f74594
commit 4102d33336
11 changed files with 37 additions and 37 deletions

View file

@ -8,7 +8,6 @@ use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\DB;
class CleanupDeviceLogsJob implements ShouldQueue
{

View file

@ -44,4 +44,4 @@ class FirmwareDownloadJob implements ShouldQueue
Log::error('An unexpected error occurred: '.$e->getMessage());
}
}
}
}

View file

@ -27,8 +27,9 @@ class FirmwarePollJob implements ShouldQueue
try {
$response = Http::get('https://usetrmnl.com/api/firmware/latest')->json();
if (!is_array($response) || !isset($response['version']) || !isset($response['url'])) {
if (! is_array($response) || ! isset($response['version']) || ! isset($response['url'])) {
\Log::error('Invalid firmware response format received');
return;
}