mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
fix cs
This commit is contained in:
@@ -12,7 +12,7 @@ declare(strict_types=1);
|
||||
namespace Chill\MainBundle\Templating\Listing;
|
||||
|
||||
use Chill\MainBundle\Form\Type\Listing\FilterOrderType;
|
||||
use \DateTimeImmutable;
|
||||
use DateTimeImmutable;
|
||||
use Symfony\Component\Form\FormFactoryInterface;
|
||||
use Symfony\Component\Form\FormInterface;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
@@ -86,9 +86,9 @@ class FilterOrderHelper
|
||||
return $this->getFormData()['checkboxes'][$name];
|
||||
}
|
||||
|
||||
public function getDateRanges(): array
|
||||
public function getCheckboxes(): array
|
||||
{
|
||||
return $this->dateRanges;
|
||||
return $this->checkboxes;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -99,9 +99,9 @@ class FilterOrderHelper
|
||||
return $this->getFormData()['dateRanges'][$name];
|
||||
}
|
||||
|
||||
public function getCheckboxes(): array
|
||||
public function getDateRanges(): array
|
||||
{
|
||||
return $this->checkboxes;
|
||||
return $this->dateRanges;
|
||||
}
|
||||
|
||||
public function getQueryString(): ?string
|
||||
|
@@ -11,7 +11,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\MainBundle\Templating\Listing;
|
||||
|
||||
use \DateTimeImmutable;
|
||||
use DateTimeImmutable;
|
||||
use Symfony\Component\Form\FormFactoryInterface;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
|
||||
|
Reference in New Issue
Block a user