mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-16 18:01:38 +00:00
Migrate to constructor promoted properties
This commit is contained in:
parent
4168727f36
commit
1d5674a230
85 changed files with 441 additions and 854 deletions
|
@ -14,13 +14,11 @@ use Wallabag\Helper\CryptoProxy;
|
|||
*/
|
||||
class SiteCredentialRepository extends ServiceEntityRepository
|
||||
{
|
||||
private $cryptoProxy;
|
||||
|
||||
public function __construct(ManagerRegistry $registry, CryptoProxy $cryptoProxy)
|
||||
{
|
||||
public function __construct(
|
||||
ManagerRegistry $registry,
|
||||
private CryptoProxy $cryptoProxy,
|
||||
) {
|
||||
parent::__construct($registry, SiteCredential::class);
|
||||
|
||||
$this->cryptoProxy = $cryptoProxy;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue