diff options
author | yemkareems <yemkareems@gmail.com> | 2024-10-28 15:04:11 +0530 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-10-28 12:34:36 +0000 |
commit | e253479d83b21ba927b82e359290792636d0a49f (patch) | |
tree | 94184be1af8e451018e8e202b50eefa3ffe4b60c /lib/private | |
parent | be581d7ce8727cd63a80be2646efb053a4ef64ab (diff) | |
download | nextcloud-server-e253479d83b21ba927b82e359290792636d0a49f.tar.gz nextcloud-server-e253479d83b21ba927b82e359290792636d0a49f.zip |
fix: crypto type made not nullable and tests run using ICrypto
Signed-off-by: yemkareems <yemkareems@gmail.com>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Authentication/LoginCredentials/Store.php | 2 | ||||
-rw-r--r-- | lib/private/Server.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Authentication/LoginCredentials/Store.php b/lib/private/Authentication/LoginCredentials/Store.php index 5a1aad6c743..50483a5862d 100644 --- a/lib/private/Authentication/LoginCredentials/Store.php +++ b/lib/private/Authentication/LoginCredentials/Store.php @@ -48,7 +48,7 @@ class Store implements IStore { /** @var IProvider|null */ private $tokenProvider; - /** @var Crypto|null */ + /** @var Crypto */ private $crypto; public function __construct(ISession $session, diff --git a/lib/private/Server.php b/lib/private/Server.php index 7e32a667c8a..45f06a13b83 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -513,7 +513,7 @@ class Server extends ServerContainer implements IServerContainer { } $logger = $c->get(LoggerInterface::class); $crypto = $c->get(Crypto::class); - return new Store($session, $logger, $tokenProvider, $crypto); + return new Store($session, $logger, $crypto, $tokenProvider); }); $this->registerAlias(IStore::class, Store::class); $this->registerAlias(IProvider::class, Authentication\Token\Manager::class); |