diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-06-22 12:59:34 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-06-30 00:45:49 +0200 |
commit | d64411e9df9f915a66c6efaee8c91edc10bc21e4 (patch) | |
tree | 72426d70b201d40d4a8afe0f1ca42e2748a5e8dc /lib/private/Accounts | |
parent | 3d6ffd3da223b035557d595b4e99ea4f38f60787 (diff) | |
download | nextcloud-server-d64411e9df9f915a66c6efaee8c91edc10bc21e4.tar.gz nextcloud-server-d64411e9df9f915a66c6efaee8c91edc10bc21e4.zip |
fix code style
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private/Accounts')
-rw-r--r-- | lib/private/Accounts/AccountManager.php | 2 | ||||
-rw-r--r-- | lib/private/Accounts/Hooks.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Accounts/AccountManager.php b/lib/private/Accounts/AccountManager.php index ffa3e2a9a75..20f596e3a90 100644 --- a/lib/private/Accounts/AccountManager.php +++ b/lib/private/Accounts/AccountManager.php @@ -419,7 +419,7 @@ class AccountManager implements IAccountManager { } } - protected function dataArrayToJson(array $accountData): string { + protected function dataArrayToJson(array $accountData): string { $jsonData = []; foreach ($accountData as $property => $data) { //$property = $data['name']; diff --git a/lib/private/Accounts/Hooks.php b/lib/private/Accounts/Hooks.php index f145fbbc3c9..93918284180 100644 --- a/lib/private/Accounts/Hooks.php +++ b/lib/private/Accounts/Hooks.php @@ -71,7 +71,7 @@ class Hooks implements IEventListener { } public function handle(Event $event): void { - if(!$event instanceof UserChangedEvent) { + if (!$event instanceof UserChangedEvent) { return; } $this->changeUserHook($event->getUser(), $event->getFeature(), $event->getValue()); |