@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | */ |
186 | 186 | private function getGroups(IUser $user): array { |
187 | 187 | $groups = array_map( |
188 | - static function (IGroup $group) { |
|
188 | + static function(IGroup $group) { |
|
189 | 189 | return $group->getDisplayName(); |
190 | 190 | }, |
191 | 191 | $this->groupManager->getUserGroups($user) |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | ]; |
211 | 211 | |
212 | 212 | $additionalEmails = array_map( |
213 | - function (IAccountProperty $property) { |
|
213 | + function(IAccountProperty $property) { |
|
214 | 214 | return [ |
215 | 215 | 'value' => $property->getValue(), |
216 | 216 | 'scope' => $property->getScope(), |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | |
283 | 283 | $localeCodes = $this->l10nFactory->findAvailableLocales(); |
284 | 284 | |
285 | - $userLocale = array_filter($localeCodes, function ($value) use ($userLocaleString) { |
|
285 | + $userLocale = array_filter($localeCodes, function($value) use ($userLocaleString) { |
|
286 | 286 | return $userLocaleString === $value['code']; |
287 | 287 | }); |
288 | 288 | |
@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | $userLocale = reset($userLocale); |
291 | 291 | } |
292 | 292 | |
293 | - $localesForLanguage = array_filter($localeCodes, function ($localeCode) use ($userLang) { |
|
293 | + $localesForLanguage = array_filter($localeCodes, function($localeCode) use ($userLang) { |
|
294 | 294 | return 0 === strpos($localeCode['code'], $userLang); |
295 | 295 | }); |
296 | 296 | |
@@ -327,7 +327,7 @@ discard block |
||
327 | 327 | default: |
328 | 328 | $message = $this->l->t('Verify'); |
329 | 329 | } |
330 | - $messageParameters[$property . 'Message'] = $message; |
|
330 | + $messageParameters[$property.'Message'] = $message; |
|
331 | 331 | } |
332 | 332 | return $messageParameters; |
333 | 333 | } |