mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 23:18:10 +00:00
chore: run pint
This commit is contained in:
parent
78f1f74594
commit
4102d33336
11 changed files with 37 additions and 37 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue