forked from wallabag/wallabag
Migrate to readonly properties
This commit is contained in:
@ -13,10 +13,10 @@ class GrabySiteConfigBuilder implements SiteConfigBuilder
|
||||
* GrabySiteConfigBuilder constructor.
|
||||
*/
|
||||
public function __construct(
|
||||
private ConfigBuilder $grabyConfigBuilder,
|
||||
private TokenStorageInterface $token,
|
||||
private SiteCredentialRepository $credentialRepository,
|
||||
private LoggerInterface $logger,
|
||||
private readonly ConfigBuilder $grabyConfigBuilder,
|
||||
private readonly TokenStorageInterface $token,
|
||||
private readonly SiteCredentialRepository $credentialRepository,
|
||||
private readonly LoggerInterface $logger,
|
||||
) {
|
||||
}
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@ use Wallabag\ExpressionLanguage\AuthenticatorProvider;
|
||||
|
||||
class LoginFormAuthenticator
|
||||
{
|
||||
private ExpressionLanguage $expressionLanguage;
|
||||
private readonly ExpressionLanguage $expressionLanguage;
|
||||
|
||||
public function __construct(
|
||||
private HttpBrowser $browser,
|
||||
private readonly HttpBrowser $browser,
|
||||
AuthenticatorProvider $authenticatorProvider,
|
||||
) {
|
||||
$this->expressionLanguage = new ExpressionLanguage(null, [$authenticatorProvider]);
|
||||
|
||||
Reference in New Issue
Block a user