Skip to content

Commit

Permalink
fix: code style
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpoensgen committed Apr 12, 2024
1 parent 4ad55da commit 486214b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/CompilerPass/ExceptionConfigCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ private function getConfig(ContainerBuilder $container, string $bundle): array
return (new Processor())
->processConfiguration(
new Configuration($debug),
$container->getExtensionConfig($bundle)
$container->getExtensionConfig($bundle),
);
}
}
6 changes: 3 additions & 3 deletions src/Subscriber/ScheduledTaskSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ScheduledTaskSubscriber implements EventSubscriberInterface
*/
public function __construct(
private readonly EntityRepository $scheduledTaskRepository,
private readonly bool $reportScheduledTasks
private readonly bool $reportScheduledTasks,
) {}

public static function getSubscribedEvents(): array
Expand Down Expand Up @@ -92,7 +92,7 @@ public function onScheduledTaskWritten(EntityWrittenEvent $event): void
ScheduledTaskDefinition::STATUS_RUNNING => CheckInStatus::inProgress(),
ScheduledTaskDefinition::STATUS_SCHEDULED => CheckInStatus::ok(),
ScheduledTaskDefinition::STATUS_FAILED => CheckInStatus::error(),
default => null
default => null,
};

if ($checkInStatus !== null) {
Expand Down Expand Up @@ -123,7 +123,7 @@ private function getCheckInId(ScheduledTaskEntity $scheduledTask): ?string
return captureCheckIn(
slug: $scheduledTask->getName(),
status: CheckInStatus::inProgress(),
monitorConfig: $this->monitorConfig($scheduledTask)
monitorConfig: $this->monitorConfig($scheduledTask),
);
}

Expand Down

0 comments on commit 486214b

Please sign in to comment.