@@ -1085,7 +1085,7 @@ |
||
| 1085 | 1085 | ->addExtra('accountId', $id) |
| 1086 | 1086 | ->addExtra('whoId', $this->userData->getId()) |
| 1087 | 1087 | ->setExtra('userId', $usersId) |
| 1088 | - ->setExtra('email', array_map(function ($value) { |
|
| 1088 | + ->setExtra('email', array_map(function($value) { |
|
| 1089 | 1089 | return $value->email; |
| 1090 | 1090 | }, $userService->getUserEmailById($usersId)))) |
| 1091 | 1091 | ); |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | return $this->returnJsonResponse(JsonResponse::JSON_SUCCESS, __u('No changes')); |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | - return $this->saveConfig($configData, $this->config, function () use ($eventMessage) { |
|
| 105 | + return $this->saveConfig($configData, $this->config, function() use ($eventMessage) { |
|
| 106 | 106 | $this->eventDispatcher->notifyEvent('save.config.ldap', new Event($this, $eventMessage)); |
| 107 | 107 | }); |
| 108 | 108 | } catch (Exception $e) { |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | $configData->setMailRecipients($mailRecipients); |
| 88 | 88 | $configData->setMailEvents( |
| 89 | 89 | $this->request->analyzeArray('mail_events', |
| 90 | - function ($items) { |
|
| 90 | + function($items) { |
|
| 91 | 91 | return ConfigUtil::eventsAdapter($items); |
| 92 | 92 | }, []) |
| 93 | 93 | ); |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | return $this->saveConfig( |
| 118 | 118 | $configData, |
| 119 | 119 | $this->config, |
| 120 | - function () use ($eventMessage) { |
|
| 120 | + function() use ($eventMessage) { |
|
| 121 | 121 | $this->eventDispatcher->notifyEvent( |
| 122 | 122 | 'save.config.mail', |
| 123 | 123 | new Event($this, $eventMessage) |