mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
php cs fix
This commit is contained in:
parent
efd43c3791
commit
0355699a69
@ -685,14 +685,18 @@ final class SingleTaskController extends AbstractController
|
||||
}
|
||||
|
||||
if ($includeMissionType) {
|
||||
/* $missionTypes = $this->singleTaskRepository->findAllTasktypes();
|
||||
foreach ($missionTypes as $type) {
|
||||
$arrayOfTypes[] = $type['type'];
|
||||
}*/
|
||||
/* $missionTypes = $this->singleTaskRepository->findAllTasktypes();
|
||||
foreach ($missionTypes as $type) {
|
||||
$arrayOfTypes[] = $type['type'];
|
||||
}*/
|
||||
|
||||
// $filterBuilder->addCheckbox('missionTypePicker', $arrayOfTypes);
|
||||
$filterBuilder->addCheckbox('missionTypePicker', array_map(
|
||||
fn ($row) => $row['type'], $this->singleTaskRepository->findAllTaskDistinctTypes())
|
||||
// $filterBuilder->addCheckbox('missionTypePicker', $arrayOfTypes);
|
||||
$filterBuilder->addCheckbox(
|
||||
'missionTypePicker',
|
||||
array_map(
|
||||
fn ($row) => $row['type'],
|
||||
$this->singleTaskRepository->findAllTaskDistinctTypes()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user