mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 19:13:49 +00:00
DX: fix cs
This commit is contained in:
@@ -331,7 +331,7 @@ class ReportList implements ExportElementValidatedInterface, ListInterface
|
||||
|
||||
public function initiateQuery(array $requiredModifiers, array $acl, array $data = [])
|
||||
{
|
||||
$centers = array_map(static fn($el) => $el['center'], $acl);
|
||||
$centers = array_map(static fn ($el) => $el['center'], $acl);
|
||||
|
||||
// throw an error if any fields are present
|
||||
if (!array_key_exists('fields', $data)) {
|
||||
@@ -503,7 +503,7 @@ class ReportList implements ExportElementValidatedInterface, ListInterface
|
||||
private function getCustomFields()
|
||||
{
|
||||
return array_filter($this->customfieldsGroup
|
||||
->getCustomFields()->toArray(), static fn(CustomField $cf) => $cf->getType() !== 'title');
|
||||
->getCustomFields()->toArray(), static fn (CustomField $cf) => $cf->getType() !== 'title');
|
||||
}
|
||||
|
||||
private function getLabelForCustomField($key, array $values, $data)
|
||||
|
Reference in New Issue
Block a user