summaryrefslogtreecommitdiffstats
path: root/apps/encryption
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-04-09 11:25:38 +0200
committerGitHub <noreply@github.com>2020-04-09 11:25:38 +0200
commit813bdc1ce8a45039fa17aac12bd078466a0034d0 (patch)
treea2ea40c4afc7f4c188d008d9850e795e60ae020d /apps/encryption
parent21b7e510102514d85558b1863759c20171c15e28 (diff)
parent2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b (diff)
downloadnextcloud-server-813bdc1ce8a45039fa17aac12bd078466a0034d0.tar.gz
nextcloud-server-813bdc1ce8a45039fa17aac12bd078466a0034d0.zip
Merge pull request #20375 from nextcloud/techdebt/fix-array-indent-style
Fix (array) indent style to always use one tab
Diffstat (limited to 'apps/encryption')
-rw-r--r--apps/encryption/lib/Users/Setup.php2
-rw-r--r--apps/encryption/tests/RecoveryTest.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/encryption/lib/Users/Setup.php b/apps/encryption/lib/Users/Setup.php
index 0ff488ae582..b9fc7aea4d9 100644
--- a/apps/encryption/lib/Users/Setup.php
+++ b/apps/encryption/lib/Users/Setup.php
@@ -64,7 +64,7 @@ class Setup {
$this->user = $userSession && $userSession->isLoggedIn() ? $userSession->getUser()->getUID() : false;
$this->crypt = $crypt;
$this->keyManager = $keyManager;
- }
+ }
/**
* @param string $uid user id
diff --git a/apps/encryption/tests/RecoveryTest.php b/apps/encryption/tests/RecoveryTest.php
index a41c2ff9fea..ce5c1f006a6 100644
--- a/apps/encryption/tests/RecoveryTest.php
+++ b/apps/encryption/tests/RecoveryTest.php
@@ -110,8 +110,8 @@ class RecoveryTest extends TestCase {
$this->cryptMock->expects($this->once())
->method('createKeyPair')
->willReturn([
- 'publicKey' => 'privateKey',
- 'privateKey' => 'publicKey',
+ 'publicKey' => 'privateKey',
+ 'privateKey' => 'publicKey',
]);
$this->keyManagerMock->expects($this->once())