1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-06-27 16:36:00 +00:00

Migrate to readonly properties

This commit is contained in:
Yassine Guedidi 2025-04-05 13:59:36 +02:00
parent a107773c11
commit ca018c77e3
71 changed files with 203 additions and 199 deletions

View file

@ -45,14 +45,14 @@ use Wallabag\Tools\Utils;
class ConfigController extends AbstractController
{
public function __construct(
private EntityManagerInterface $entityManager,
private UserManagerInterface $userManager,
private EntryRepository $entryRepository,
private TagRepository $tagRepository,
private AnnotationRepository $annotationRepository,
private ConfigRepository $configRepository,
private EventDispatcherInterface $eventDispatcher,
private Redirect $redirectHelper,
private readonly EntityManagerInterface $entityManager,
private readonly UserManagerInterface $userManager,
private readonly EntryRepository $entryRepository,
private readonly TagRepository $tagRepository,
private readonly AnnotationRepository $annotationRepository,
private readonly ConfigRepository $configRepository,
private readonly EventDispatcherInterface $eventDispatcher,
private readonly Redirect $redirectHelper,
) {
}