diff --git a/src/Schedule/Repository/ScheduleRepository.php b/src/Schedule/Repository/ScheduleRepository.php index 9169ad2ef..55bb3453f 100644 --- a/src/Schedule/Repository/ScheduleRepository.php +++ b/src/Schedule/Repository/ScheduleRepository.php @@ -84,7 +84,7 @@ public function updateSchedules( foreach ($schedules as $schedule) { $task = $this->taskResolver->getById($schedule->getId()); - if(!$task) { + if (!$task) { continue; } @@ -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();