formating
This commit is contained in:
parent
11c831945c
commit
3e898d0415
2 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ abstract class MailBuilder
|
||||||
$this->l10n = $l10n;
|
$this->l10n = $l10n;
|
||||||
$this->baseUrl = $baseUrl;
|
$this->baseUrl = $baseUrl;
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
$this->logger = $logger;
|
$this->logger = $logger;
|
||||||
|
|
||||||
$hostname = $baseUrl->getHostname();
|
$hostname = $baseUrl->getHostname();
|
||||||
if (strpos($hostname, ':')) {
|
if (strpos($hostname, ':')) {
|
||||||
|
@ -90,10 +90,10 @@ abstract class MailBuilder
|
||||||
/**
|
/**
|
||||||
* Adds the User ID to the email in case the mail sending needs additional properties of this user
|
* Adds the User ID to the email in case the mail sending needs additional properties of this user
|
||||||
*
|
*
|
||||||
* @todo Once the user array is replaced with a user entity, replace this array parameter as well
|
|
||||||
* @param array $user The user entity/array, for which the email should be sent
|
* @param array $user The user entity/array, for which the email should be sent
|
||||||
*
|
*
|
||||||
* @return static
|
* @return static
|
||||||
|
* @todo Once the user array is replaced with a user entity, replace this array parameter as well
|
||||||
*/
|
*/
|
||||||
public function forUser(array $user)
|
public function forUser(array $user)
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,7 +27,7 @@ class SystemMailBuilder extends MailBuilder
|
||||||
protected $siteAdmin;
|
protected $siteAdmin;
|
||||||
|
|
||||||
public function __construct(L10n $l10n, BaseURL $baseUrl, IConfig $config, LoggerInterface $logger,
|
public function __construct(L10n $l10n, BaseURL $baseUrl, IConfig $config, LoggerInterface $logger,
|
||||||
string$siteEmailAddress, string $siteName)
|
string $siteEmailAddress, string $siteName)
|
||||||
{
|
{
|
||||||
parent::__construct($l10n, $baseUrl, $config, $logger);
|
parent::__construct($l10n, $baseUrl, $config, $logger);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue