From 2701c3e7dcfc8cd6bd8c094f8df0562d1c3f9679 Mon Sep 17 00:00:00 2001
From: Arthur Schiwon <blizzz@arthur-schiwon.de>
Date: Thu, 3 Jun 2021 20:54:25 +0200
Subject: fix code style

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
---
 lib/private/Accounts/AccountManager.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'lib/private/Accounts/AccountManager.php')

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)) {
-- 
cgit v1.2.3