Fix missing ')'

2022-03-24
Luca 3 years ago
parent b1cb122b86
commit 2870d84a0a

@ -18,7 +18,7 @@ $app = app();
$scheduleIds = $argv; $scheduleIds = $argv;
if ($argv[0] === '*') { if ($argv[0] === '*') {
$db = $app->get('database'); $db = $app->get('database');
$scheduleIds = array_map(fn(stdClass $schedule) => $schedule->id, $db->select('SELECT id FROM schedules'); $scheduleIds = array_map(fn(stdClass $schedule) => $schedule->id, $db->select('SELECT id FROM schedules'));
} }
$importer = $app->get(ImportSchedule::class); $importer = $app->get(ImportSchedule::class);

Loading…
Cancel
Save