diff options
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()); |