This commit is contained in:
2024-04-04 22:19:56 +02:00
parent 409a571010
commit 92800f5dd0
20 changed files with 18 additions and 43 deletions

View File

@@ -20,8 +20,7 @@ final readonly class DashboardApiController
{
public function __construct(
private NewsItemRepository $newsItemRepository,
) {
}
) {}
/**
* Get user dashboard config (not yet based on user id and still hardcoded for now).

View File

@@ -25,8 +25,7 @@ class NewsItemApiController
private readonly NewsItemRepository $newsItemRepository,
private readonly SerializerInterface $serializer,
private readonly PaginatorFactory $paginatorFactory
) {
}
) {}
/**
* Get list of news items filtered on start and end date.

View File

@@ -28,8 +28,7 @@ final readonly class NewsItemHistoryController
private readonly PaginatorFactory $paginatorFactory,
private readonly FilterOrderHelperFactoryInterface $filterOrderHelperFactory,
private readonly Environment $environment,
) {
}
) {}
/**
* @Route("/{_locale}/news-items/history", name="chill_main_news_items_history")