forked from wallabag/wallabag
Migrate to readonly properties
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user