mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-16 18:01:38 +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,7 +16,7 @@ class SiteCredentialRepository extends ServiceEntityRepository
|
|||
{
|
||||
public function __construct(
|
||||
ManagerRegistry $registry,
|
||||
private CryptoProxy $cryptoProxy,
|
||||
private readonly CryptoProxy $cryptoProxy,
|
||||
) {
|
||||
parent::__construct($registry, SiteCredential::class);
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ class TagRepository extends ServiceEntityRepository
|
|||
{
|
||||
public function __construct(
|
||||
ManagerRegistry $registry,
|
||||
private string $tablePrefix,
|
||||
private readonly string $tablePrefix,
|
||||
) {
|
||||
parent::__construct($registry, Tag::class);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue