aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication
diff options
context:
space:
mode:
authoryemkareems <yemkareems@gmail.com>2024-10-28 15:04:11 +0530
committeryemkareems <yemkareems@gmail.com>2024-10-28 15:04:11 +0530
commita74ef8237da49b75a930ca335713eef0347c9d51 (patch)
tree8f406854b99fd06b3f4a9568e72b151c1eaca529 /lib/private/Authentication
parent505dfd65fd3520aaf95add30ef680723ddcd4dbd (diff)
downloadnextcloud-server-a74ef8237da49b75a930ca335713eef0347c9d51.tar.gz
nextcloud-server-a74ef8237da49b75a930ca335713eef0347c9d51.zip
fix: crypto type made not nullable and tests run using ICrypto
Signed-off-by: yemkareems <yemkareems@gmail.com>
Diffstat (limited to 'lib/private/Authentication')
-rw-r--r--lib/private/Authentication/LoginCredentials/Store.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Authentication/LoginCredentials/Store.php b/lib/private/Authentication/LoginCredentials/Store.php
index 8e31d7e23ca..210d1cc6463 100644
--- a/lib/private/Authentication/LoginCredentials/Store.php
+++ b/lib/private/Authentication/LoginCredentials/Store.php
@@ -30,13 +30,13 @@ class Store implements IStore {
/** @var IProvider|null */
private $tokenProvider;
- /** @var Crypto|null */
+ /** @var Crypto */
private $crypto;
public function __construct(ISession $session,
LoggerInterface $logger,
- ?IProvider $tokenProvider = null,
- ?Crypto $crypto = null) {
+ Crypto $crypto,
+ ?IProvider $tokenProvider = null) {
$this->session = $session;
$this->logger = $logger;
$this->tokenProvider = $tokenProvider;