Skip to content

Commit

Permalink
don't reinitialize variable on iteration
Browse files Browse the repository at this point in the history
Fixes #219
  • Loading branch information
slalomsk8er authored Nov 9, 2023
1 parent ecedc65 commit 2df5335
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion application/clicommands/JobsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ protected function fetchSchedules(?string $jobName, ?string $scheduleName): arra
$schedules->filter(Filter::equal('name', $scheduleName));
}

$jobSchedules = [];
/** @var X509Schedule $scheduleModel */
foreach ($schedules as $scheduleModel) {
$schedule = Schedule::fromModel($scheduleModel);
Expand Down

0 comments on commit 2df5335

Please sign in to comment.