apply rector rules: php up to php82

This commit is contained in:
2023-07-19 23:16:01 +02:00
parent 7b637d1287
commit 023a29cb78
744 changed files with 1369 additions and 1381 deletions

View File

@@ -39,14 +39,14 @@ use function count;
*/
class EventSearch extends AbstractSearch
{
public const NAME = 'event_regular';
final public const NAME = 'event_regular';
public function __construct(
private Security $security,
private EventRepository $er,
private AuthorizationHelper $authorizationHelper,
private TemplatingEngine $templating,
private PaginatorFactory $paginationFactory
private readonly Security $security,
private readonly EventRepository $er,
private readonly AuthorizationHelper $authorizationHelper,
private readonly TemplatingEngine $templating,
private readonly PaginatorFactory $paginationFactory
) {
}