Implements return types on aggregators

This commit is contained in:
2025-04-08 12:38:52 +02:00
parent ec5f4ed1d6
commit 0d0a626f50
100 changed files with 111 additions and 107 deletions

View File

@@ -87,7 +87,7 @@ class ActivityUsersJobAggregator implements AggregatorInterface
return [];
}
public function getLabels($key, array $values, $data)
public function getLabels($key, array $values, $data): callable
{
return function ($value): string {
if ('_header' === $value) {