Repo Interface für tests
This commit is contained in:
@@ -4,7 +4,7 @@ namespace MintyPHP\Service\Mail;
|
||||
|
||||
use MintyPHP\Domain\Taxonomy\MailLogStatus;
|
||||
use MintyPHP\I18n;
|
||||
use MintyPHP\Repository\Mail\MailLogRepository;
|
||||
use MintyPHP\Repository\Mail\MailLogRepositoryInterface;
|
||||
use MintyPHP\Service\Settings\SettingGateway;
|
||||
use PHPMailer\PHPMailer\Exception as MailerException;
|
||||
use PHPMailer\PHPMailer\PHPMailer;
|
||||
@@ -12,7 +12,7 @@ use PHPMailer\PHPMailer\PHPMailer;
|
||||
class MailService
|
||||
{
|
||||
public function __construct(
|
||||
private readonly MailLogRepository $mailLogRepository,
|
||||
private readonly MailLogRepositoryInterface $mailLogRepository,
|
||||
private readonly SettingGateway $settingGateway
|
||||
) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user