Skip to content

Commit

Permalink
Consistency check
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed May 28, 2024
1 parent d7c808d commit d8bd171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Schedule/Repository/ScheduleRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function updateSchedules(
foreach ($schedules as $schedule) {
$task = $this->taskResolver->getById($schedule->getId());

if(!$task) {
if (!$task) {
continue;
}

Expand All @@ -110,7 +110,7 @@ public function deleteSchedule(int $id): void
$task = $this->taskResolver->getById($id);

if (!$task) {
throw new ElementNotFoundException( $id, 'Task');
throw new ElementNotFoundException($id, 'Task');
}

$queryBuilder = $this->dbResolver->get()->createQueryBuilder();
Expand Down

0 comments on commit d8bd171

Please sign in to comment.