summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/helper/email_helper.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/helper/email_helper.php b/includes/helper/email_helper.php
index bad0d539..3012d5ce 100644
--- a/includes/helper/email_helper.php
+++ b/includes/helper/email_helper.php
@@ -1,5 +1,6 @@
<?php
+use Engelsystem\Helpers\Translation\Translator;
use Engelsystem\Mail\EngelsystemMailer;
use Engelsystem\Models\User\User;
use Psr\Log\LogLevel;
@@ -17,7 +18,7 @@ function engelsystem_email_to_user($recipientUser, $title, $message, $notIfItsMe
return true;
}
- /** @var \Engelsystem\Helpers\Translator $translator */
+ /** @var Translator $translator */
$translator = app()->get('translator');
$locale = $translator->getLocale();