@@ -235,7 +235,7 @@ discard block |
||
| 235 | 235 | } |
| 236 | 236 | |
| 237 | 237 | $this->whitelistedInstitutions = array_map( |
| 238 | - fn(WhitelistEntry $whitelistEntry): string => (string)$whitelistEntry->institution, |
|
| 238 | + fn(WhitelistEntry $whitelistEntry): string => (string) $whitelistEntry->institution, |
|
| 239 | 239 | $this->whitelistService->getAllEntries()->toArray(), |
| 240 | 240 | ); |
| 241 | 241 | |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | |
| 257 | 257 | return array_filter( |
| 258 | 258 | $institutions, |
| 259 | - function ($institution) use ($normalizedConfiguredInstitutions): bool { |
|
| 259 | + function($institution) use ($normalizedConfiguredInstitutions): bool { |
|
| 260 | 260 | $normalizedInstitution = strtolower($institution); |
| 261 | 261 | |
| 262 | 262 | return !in_array($normalizedInstitution, $normalizedConfiguredInstitutions); |
@@ -42,11 +42,11 @@ |
||
| 42 | 42 | #[AsTwigFilter('localizeddate', needsEnvironment: true)] |
| 43 | 43 | public function localizedDate( |
| 44 | 44 | Environment $env, |
| 45 | - DateTimeInterface|string|null $date, |
|
| 45 | + DateTimeInterface | string | null $date, |
|
| 46 | 46 | ?string $dateFormat = 'medium', |
| 47 | 47 | ?string $timeFormat = 'medium', |
| 48 | 48 | string $locale = null |
| 49 | 49 | ): string { |
| 50 | - return $this->intlExtension->formatDateTime($env, $date, $dateFormat, $timeFormat, locale: $locale); |
|
| 50 | + return $this->intlExtension->formatDateTime($env, $date, $dateFormat, $timeFormat, locale : $locale); |
|
| 51 | 51 | } |
| 52 | 52 | } |
@@ -74,14 +74,14 @@ |
||
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | $command = new BootstrapIdentityWithYubikeySecondFactorIdentityCommand(); |
| 77 | - $command->UUID = (string)Uuid::uuid4(); |
|
| 78 | - $command->identityId = (string)Uuid::uuid4(); |
|
| 77 | + $command->UUID = (string) Uuid::uuid4(); |
|
| 78 | + $command->identityId = (string) Uuid::uuid4(); |
|
| 79 | 79 | $command->nameId = $nameId; |
| 80 | 80 | $command->institution = $institution; |
| 81 | 81 | $command->commonName = $commonName; |
| 82 | 82 | $command->email = $email; |
| 83 | 83 | $command->preferredLocale = $preferredLocale; |
| 84 | - $secondFactorId = (string)Uuid::uuid4(); |
|
| 84 | + $secondFactorId = (string) Uuid::uuid4(); |
|
| 85 | 85 | $command->secondFactorId = $secondFactorId; |
| 86 | 86 | $command->yubikeyPublicId = $yubikey; |
| 87 | 87 | |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | string $newNameId, |
| 49 | 49 | #[Argument(description: 'The institution of the target identity', name: 'target-institution')] |
| 50 | 50 | ?string $targetInstitution, |
| 51 | - #[Argument(description: 'The e-mail address of the identity to create', name: 'email')] |
|
| 51 | + #[Argument(description : 'The e-mail address of the identity to create', name : 'email')] |
|
| 52 | 52 | ?string $email, |
| 53 | 53 | OutputInterface $output |
| 54 | 54 | ): int { |