summaryrefslogtreecommitdiffstats
path: root/lib/private/Accounts/AccountManager.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2021-06-03 20:54:25 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-06-03 20:54:25 +0200
commit2701c3e7dcfc8cd6bd8c094f8df0562d1c3f9679 (patch)
tree684133bf3627ab6418546a3c8468382b9635448e /lib/private/Accounts/AccountManager.php
parent44827e37c0a2e9f69feae6a741a223bf19e49685 (diff)
downloadnextcloud-server-2701c3e7dcfc8cd6bd8c094f8df0562d1c3f9679.tar.gz
nextcloud-server-2701c3e7dcfc8cd6bd8c094f8df0562d1c3f9679.zip
fix code style
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private/Accounts/AccountManager.php')
-rw-r--r--lib/private/Accounts/AccountManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Accounts/AccountManager.php b/lib/private/Accounts/AccountManager.php
index 3b3117d8be1..801250004fb 100644
--- a/lib/private/Accounts/AccountManager.php
+++ b/lib/private/Accounts/AccountManager.php
@@ -169,7 +169,7 @@ class AccountManager implements IAccountManager {
foreach ($data as $propertyNameOrIndex => &$propertyData) {
if ($this->isCollection($propertyNameOrIndex)) {
$this->testPropertyScopes($propertyData, $allowedScopes, $throwOnData);
- } else if (isset($propertyData['scope'])) {
+ } elseif (isset($propertyData['scope'])) {
$effectivePropertyName = $parentPropertyName ?? $propertyNameOrIndex;
if ($throwOnData && !in_array($propertyData['scope'], $allowedScopes, true)) {