From d64411e9df9f915a66c6efaee8c91edc10bc21e4 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 22 Jun 2021 12:59:34 +0200 Subject: [PATCH] fix code style Signed-off-by: Arthur Schiwon --- lib/private/Accounts/AccountManager.php | 2 +- 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()); -- 2.39.5