split mailbuilder types

This commit is contained in:
nupplaPhil 2020-02-04 21:27:52 +01:00
parent 34dce9fd76
commit cb08912926
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
4 changed files with 34 additions and 12 deletions

View file

@ -96,13 +96,11 @@ class Emailer
*
* @see Notify
*
* @param L10n $l10n The chosen language for the new email
*
* @return NotifyMailBuilder
*/
public function newNotifyMail(L10n $l10n)
public function newNotifyMail()
{
return new NotifyMailBuilder($l10n, $this->baseUrl, $this->config,
return new NotifyMailBuilder($this->l10n, $this->baseUrl, $this->config,
$this->getSiteEmailAddress(), $this->getSiteEmailName());
}