diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-06-22 12:59:34 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-06-30 05:15:49 +0000 |
commit | bcedd4031d608c41f0c29f5461d71aa201266a74 (patch) | |
tree | 1d319eafeafecab478798464eff9952d5213c5d7 /lib/private | |
parent | 63d2aad5d3a6fd016a13920e636e4c5e7e22c493 (diff) | |
download | nextcloud-server-bcedd4031d608c41f0c29f5461d71aa201266a74.tar.gz nextcloud-server-bcedd4031d608c41f0c29f5461d71aa201266a74.zip |
fix code style
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private')
-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()); |