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