1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-26 18:21:02 +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

@ -16,13 +16,13 @@ use Wallabag\Repository\TagRepository;
class WallabagExtension extends AbstractExtension implements GlobalsInterface
{
public function __construct(
private EntryRepository $entryRepository,
private AnnotationRepository $annotationRepository,
private TagRepository $tagRepository,
private TokenStorageInterface $tokenStorage,
private readonly EntryRepository $entryRepository,
private readonly AnnotationRepository $annotationRepository,
private readonly TagRepository $tagRepository,
private readonly TokenStorageInterface $tokenStorage,
private $lifeTime,
private TranslatorInterface $translator,
private string $projectDir,
private readonly TranslatorInterface $translator,
private readonly string $projectDir,
) {
}