diff options
author | yemkareems <yemkareems@gmail.com> | 2024-10-28 15:04:11 +0530 |
---|---|---|
committer | yemkareems <yemkareems@gmail.com> | 2024-10-28 15:04:11 +0530 |
commit | a74ef8237da49b75a930ca335713eef0347c9d51 (patch) | |
tree | 8f406854b99fd06b3f4a9568e72b151c1eaca529 /lib/private/Authentication | |
parent | 505dfd65fd3520aaf95add30ef680723ddcd4dbd (diff) | |
download | nextcloud-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.php | 6 |
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; |