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:
parent
a107773c11
commit
ca018c77e3
71 changed files with 203 additions and 199 deletions
|
@ -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,
|
||||
) {
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue