From e7b01c254115acdc58e185c176e619ef4fe5c773 Mon Sep 17 00:00:00 2001 From: Alexander Menk Date: Fri, 4 Oct 2024 15:03:32 +0200 Subject: [PATCH] Drive by fix cs-fixer problem * File was not touched in this MR but somehow has a problem --- src/Subscriber/ScheduledTaskSubscriber.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Subscriber/ScheduledTaskSubscriber.php b/src/Subscriber/ScheduledTaskSubscriber.php index 633190a..a7f7fb4 100644 --- a/src/Subscriber/ScheduledTaskSubscriber.php +++ b/src/Subscriber/ScheduledTaskSubscriber.php @@ -103,7 +103,7 @@ public function onScheduledTaskWritten(EntityWrittenEvent $event): void private function captureCheckIn(ScheduledTaskEntity $scheduledTask, CheckInStatus $status): void { - if($status === CheckInStatus::inProgress()) { + if ($status === CheckInStatus::inProgress()) { $scheduledTask->removeExtension('sentryCheckInId'); $checkInId = $this->getCheckInId($scheduledTask); $scheduledTask->addArrayExtension('sentryCheckInId', [$checkInId]); @@ -116,7 +116,7 @@ private function captureCheckIn(ScheduledTaskEntity $scheduledTask, CheckInStatu private function getCheckInId(ScheduledTaskEntity $scheduledTask): ?string { $extension = $scheduledTask->getExtension('sentryCheckInId'); - if($extension instanceof ArrayStruct) { + if ($extension instanceof ArrayStruct) { return \is_string($extension->get(0)) ? $extension->get(0) : null; }