Skip to content

Commit

Permalink
Drive by fix cs-fixer problem
Browse files Browse the repository at this point in the history
* File was not touched in this MR but somehow has a problem
  • Loading branch information
amenk committed Oct 4, 2024
1 parent 8fa10c7 commit e7b01c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Subscriber/ScheduledTaskSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand All @@ -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;
}

Expand Down

0 comments on commit e7b01c2

Please sign in to comment.