Skip to content

Commit

Permalink
Merge pull request #220 from slalomsk8er/main
Browse files Browse the repository at this point in the history
don't reinitialize variable on iteration
  • Loading branch information
yhabteab authored Nov 9, 2023
2 parents ecedc65 + 2df5335 commit 146ad3c
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 146ad3c

Please sign in to comment.