apply rules rector

This commit is contained in:
2023-07-19 22:48:26 +02:00
parent 6e6f19c499
commit 74ed34ba97
40 changed files with 250 additions and 697 deletions

View File

@@ -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()