lint: run linter
This commit is contained in:
parent
26cf793943
commit
fa80def46c
2 changed files with 6 additions and 5 deletions
|
@ -30,7 +30,7 @@ class Kernel extends ConsoleKernel
|
|||
});
|
||||
|
||||
$schedule->command('digest:send --fortnightly')
|
||||
->twiceMonthly(1,16,'13:00')
|
||||
->twiceMonthly(1, 16, '13:00')
|
||||
->onFailure(function () {
|
||||
Log::error("Fortnightly email digest send failed");
|
||||
});
|
||||
|
|
|
@ -49,7 +49,8 @@ class TrackerController extends Controller
|
|||
return view(
|
||||
'error',
|
||||
[
|
||||
'message' => "App timed out whilst downloading trip data from Wayward's servers. They may be down currently."
|
||||
'message' => "App timed out whilst downloading trip data" .
|
||||
" from Wayward's servers. They may be down currently."
|
||||
]
|
||||
);
|
||||
}
|
||||
|
@ -145,7 +146,7 @@ class TrackerController extends Controller
|
|||
// Otherwise, download the trip data from the Wayward API.
|
||||
if ($forceDownload) {
|
||||
Log::debug("Forcing download for '{$tripFileName}'.");
|
||||
Storage::disk('local')->delete($tripFileName);
|
||||
Storage::disk('local')->delete($tripFileName);
|
||||
} else {
|
||||
Log::debug("No cached trip file found for '{$tripFileName}'.");
|
||||
}
|
||||
|
@ -230,9 +231,9 @@ class TrackerController extends Controller
|
|||
$dlng = (($result & 1) ? ~($result >> 1) : ($result >> 1));
|
||||
$lng += $dlng;
|
||||
|
||||
array_push($points, (object)[
|
||||
array_push($points, (object)[
|
||||
'id' => $id++,
|
||||
'latitude' => $lat/100000,
|
||||
'latitude' => $lat/100000,
|
||||
'longitude' => $lng/100000
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue