Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitLeveque committed Apr 13, 2024
1 parent 6015a6a commit a1c10d4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/DataFixtures/AppFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ public function load(ObjectManager $manager): void
__DIR__.'/fixtures/container_environment_usage.yml',
__DIR__.'/fixtures/hosting_type.yml',
__DIR__.'/fixtures/response.yml',
]
);
]);

$objects = $objectSet->getObjects();
foreach ($objects as $object) {
Expand Down
2 changes: 1 addition & 1 deletion src/Filter/AgeFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AgeFilter implements FilterInterface
public function buildForm(FormBuilderInterface $builder)
{
$builder->add('age', AgeFilterType::class, [
'label' => 'filter.age',
'label' => 'filter.age',
]);
}

Expand Down
6 changes: 3 additions & 3 deletions src/Filter/GenderFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ function ($value) use ($queryBuilder) {
public function buildForm(FormBuilderInterface $builder)
{
$builder->add($this->getName(), Select2MultipleFilterType::class, [
'label' => 'filter.gender',
'choices' => array_flip($this->gender->getChoices()),
]);
'label' => 'filter.gender',
'choices' => array_flip($this->gender->getChoices()),
]);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Filter/SalaryFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class SalaryFilter implements FilterInterface
public function buildForm(FormBuilderInterface $builder)
{
$builder->add('salary', SalaryFilterType::class, [
'label' => 'filter.salary',
'label' => 'filter.salary',
]);
}

Expand Down

0 comments on commit a1c10d4

Please sign in to comment.