diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-03-28 17:15:01 +0100 |
---|---|---|
committer | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2024-04-02 14:16:21 +0200 |
commit | 81319e78bf3b6d16064e6cf29b1354e72280fe53 (patch) | |
tree | 4b9644b085d96b288cc1a5982e04ba184308ffc6 /apps/files_external/lib/Lib/Auth/PublicKey | |
parent | 47b765552fe76d3527b17e51b797a16012d9767b (diff) | |
download | nextcloud-server-81319e78bf3b6d16064e6cf29b1354e72280fe53.tar.gz nextcloud-server-81319e78bf3b6d16064e6cf29b1354e72280fe53.zip |
chore: Improve phpdoc typing to silence psalm errors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/files_external/lib/Lib/Auth/PublicKey')
-rw-r--r-- | apps/files_external/lib/Lib/Auth/PublicKey/RSA.php | 3 | ||||
-rw-r--r-- | apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php b/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php index 2c52f654805..67259ffc5b3 100644 --- a/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php +++ b/apps/files_external/lib/Lib/Auth/PublicKey/RSA.php @@ -56,6 +56,9 @@ class RSA extends AuthMechanism { ; } + /** + * @return void + */ public function manipulateStorageConfig(StorageConfig &$storage, ?IUser $user = null) { $auth = new RSACrypt(); $auth->setPassword($this->config->getSystemValue('secret', '')); diff --git a/apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php b/apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php index bd6d87c22f8..30ff5dd2a4c 100644 --- a/apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php +++ b/apps/files_external/lib/Lib/Auth/PublicKey/RSAPrivateKey.php @@ -54,6 +54,9 @@ class RSAPrivateKey extends AuthMechanism { ]); } + /** + * @return void + */ public function manipulateStorageConfig(StorageConfig &$storage, ?IUser $user = null) { $auth = new RSACrypt(); $auth->setPassword($this->config->getSystemValue('secret', '')); |