mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 04:53:49 +00:00
cs: Fix code-style (using PHPCSFixer and PHPCS).
This commit is contained in:
@@ -17,6 +17,7 @@ use Chill\TaskBundle\Repository\SingleTaskRepository;
|
||||
use Psr\Cache\CacheItemPoolInterface;
|
||||
use Symfony\Component\Security\Core\User\UserInterface;
|
||||
use Symfony\Component\Workflow\Event\Event;
|
||||
|
||||
use function array_merge;
|
||||
|
||||
class CountNotificationTask implements NotificationCounterInterface
|
||||
@@ -69,10 +70,12 @@ class CountNotificationTask implements NotificationCounterInterface
|
||||
$task = $e->getSubject();
|
||||
|
||||
if (null !== $task->getAssignee()) {
|
||||
foreach ([
|
||||
SingleTaskRepository::DATE_STATUS_ENDED,
|
||||
SingleTaskRepository::DATE_STATUS_WARNING,
|
||||
] as $status) {
|
||||
foreach (
|
||||
[
|
||||
SingleTaskRepository::DATE_STATUS_ENDED,
|
||||
SingleTaskRepository::DATE_STATUS_WARNING,
|
||||
] as $status
|
||||
) {
|
||||
$key = $this->getCacheKey($task->getAssignee(), $status);
|
||||
$sumCache = $this->cachePool->getItem($key);
|
||||
|
||||
|
Reference in New Issue
Block a user