mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-15 13:51:24 +00:00
apply rules rector up to php82
This commit is contained in:
@@ -22,7 +22,7 @@ use function array_merge;
|
||||
|
||||
class CountNotificationTask implements NotificationCounterInterface
|
||||
{
|
||||
public const CACHE_KEY = 'chill_task.count_notifications.user.%d.%s';
|
||||
final public const CACHE_KEY = 'chill_task.count_notifications.user.%d.%s';
|
||||
|
||||
/**
|
||||
* @var CacheItempPoolInterface
|
||||
@@ -104,7 +104,7 @@ class CountNotificationTask implements NotificationCounterInterface
|
||||
];
|
||||
|
||||
$sum = $this->singleTaskRepository->countByParameters(
|
||||
array_merge($params, ['date_status' => $status])
|
||||
[...$params, 'date_status' => $status]
|
||||
);
|
||||
|
||||
$sumCache->set($sum);
|
||||
|
||||
Reference in New Issue
Block a user