From a74ef8237da49b75a930ca335713eef0347c9d51 Mon Sep 17 00:00:00 2001 From: yemkareems Date: Mon, 28 Oct 2024 15:04:11 +0530 Subject: fix: crypto type made not nullable and tests run using ICrypto Signed-off-by: yemkareems --- lib/private/Authentication/LoginCredentials/Store.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/private/Authentication') 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; -- cgit v1.2.3