Fix indents

This commit is contained in:
nupplaPhil 2020-02-02 09:22:30 +01:00
parent 6700467ed4
commit 262c94f12f
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
5 changed files with 38 additions and 37 deletions

View file

@ -898,11 +898,11 @@ class User
));
$email = DI::emailer()
->newSystemMail(DI::l10n())
->withMessage(DI::l10n()->t('Registration at %s', $sitename), $body)
->forUser($user['uid'] ?? 0)
->withRecipient($user['email'])
->build();
->newSystemMail(DI::l10n())
->withMessage(DI::l10n()->t('Registration at %s', $sitename), $body)
->forUser($user['uid'] ?? 0)
->withRecipient($user['email'])
->build();
return DI::emailer()->send($email);
}
@ -966,11 +966,11 @@ class User
));
$email = DI::emailer()
->newSystemMail($l10n)
->withMessage(DI::l10n()->t('Registration details for %s', $sitename), $preamble, $body)
->forUser($user['uid'] ?? 0)
->withRecipient($user['email'])
->build();
->newSystemMail($l10n)
->withMessage(DI::l10n()->t('Registration details for %s', $sitename), $preamble, $body)
->forUser($user['uid'] ?? 0)
->withRecipient($user['email'])
->build();
return DI::emailer()->send($email);
}