Skip to content

Commit 3772a04

Browse files
fix: ecs
1 parent d62376e commit 3772a04

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Command/MonitorCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
namespace Frosh\Tools\Command;
55

6-
use Shopware\Core\Content\Mail\Service\MailService;
76
use Doctrine\DBAL\Connection;
87
use Shopware\Core\Content\Mail\Service\AbstractMailService;
8+
use Shopware\Core\Content\Mail\Service\MailService;
99
use Shopware\Core\Framework\Context;
1010
use Shopware\Core\Framework\DataAbstractionLayer\EntityRepository;
1111
use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria;

src/Components/Health/Checker/HealthChecker/TaskChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function collect(HealthCollection $collection): void
4141
$taskDateLimit = (new \DateTimeImmutable())->modify(\sprintf('-%d minutes', $maxDiff));
4242
$recommended = \sprintf('max %d mins', $maxDiff);
4343

44-
$tasks = array_filter($tasks, fn(array $task) => new \DateTimeImmutable($task['next_execution_time']) < $taskDateLimit);
44+
$tasks = array_filter($tasks, fn (array $task) => new \DateTimeImmutable($task['next_execution_time']) < $taskDateLimit);
4545

4646
if ($tasks === []) {
4747
$collection->add(SettingsResult::ok('scheduled_task', 'Scheduled tasks', '0 mins', $recommended));

0 commit comments

Comments
 (0)