mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 11:33:49 +00:00
apply rules rector
This commit is contained in:
@@ -41,40 +41,13 @@ class EventSearch extends AbstractSearch
|
||||
{
|
||||
public const NAME = 'event_regular';
|
||||
|
||||
private $security;
|
||||
|
||||
/**
|
||||
* @var EventRepository
|
||||
*/
|
||||
private $er;
|
||||
|
||||
/**
|
||||
* @var AuthorizationHelper
|
||||
*/
|
||||
private $authorizationHelper;
|
||||
|
||||
/**
|
||||
* @var PaginatorFactory
|
||||
*/
|
||||
private $paginationFactory;
|
||||
|
||||
/**
|
||||
* @var TemplatingEngine
|
||||
*/
|
||||
private $templating;
|
||||
|
||||
public function __construct(
|
||||
Security $security,
|
||||
EventRepository $eventRepository,
|
||||
AuthorizationHelper $authorizationHelper,
|
||||
TemplatingEngine $templating,
|
||||
PaginatorFactory $paginatorFactory
|
||||
private Security $security,
|
||||
private EventRepository $er,
|
||||
private AuthorizationHelper $authorizationHelper,
|
||||
private TemplatingEngine $templating,
|
||||
private PaginatorFactory $paginationFactory
|
||||
) {
|
||||
$this->security = $security;
|
||||
$this->er = $eventRepository;
|
||||
$this->authorizationHelper = $authorizationHelper;
|
||||
$this->templating = $templating;
|
||||
$this->paginationFactory = $paginatorFactory;
|
||||
}
|
||||
|
||||
public function getOrder()
|
||||
|
Reference in New Issue
Block a user