File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Resources/config/services Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1717use Ibexa \Contracts \Core \Repository \Values \User \User ;
1818use Ibexa \Contracts \Core \Repository \Values \User \UserTokenUpdateStruct ;
1919use Ibexa \Contracts \Core \SiteAccess \ConfigResolverInterface ;
20- use Ibexa \Contracts \User \PasswordReset \Notifier ;
20+ use Ibexa \Contracts \User \PasswordReset \NotifierInterface ;
2121use Ibexa \User \ExceptionHandler \ActionResultHandler ;
2222use Ibexa \User \Form \Data \UserPasswordResetData ;
2323use Ibexa \User \Form \Factory \FormFactory ;
@@ -42,15 +42,15 @@ class PasswordResetController extends Controller
4242
4343 private ConfigResolverInterface $ configResolver ;
4444
45- private Notifier $ passwordResetMailer ;
45+ private NotifierInterface $ passwordResetMailer ;
4646
4747 public function __construct (
4848 FormFactory $ formFactory ,
4949 UserService $ userService ,
5050 ActionResultHandler $ actionResultHandler ,
5151 PermissionResolver $ permissionResolver ,
5252 ConfigResolverInterface $ configResolver ,
53- Notifier $ passwordResetMailer
53+ NotifierInterface $ passwordResetMailer
5454 ) {
5555 $ this ->formFactory = $ formFactory ;
5656 $ this ->userService = $ userService ;
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ services:
66
77 Ibexa\User\PasswordReset\Notifier : ~
88
9- Ibexa\Contracts\User\PasswordReset\Notifier : ' @Ibexa\User\PasswordReset\Notifier'
9+ Ibexa\Contracts\User\PasswordReset\NotifierInterface : ' @Ibexa\User\PasswordReset\Notifier'
Original file line number Diff line number Diff line change 1010
1111use Ibexa \Contracts \Core \Repository \Values \User \User ;
1212
13- interface Notifier
13+ interface NotifierInterface
1414{
1515 public function sendMessage (User $ user , string $ hashKey ): void ;
1616}
Original file line number Diff line number Diff line change 1515use Ibexa \Contracts \Notifications \Value \Recipent \SymfonyRecipientAdapter ;
1616use Ibexa \Contracts \Notifications \Value \Recipent \UserRecipient ;
1717use Ibexa \Contracts \User \Notification \UserPasswordReset ;
18- use Ibexa \Contracts \User \PasswordReset \Notifier as PasswordResetNotifierInterface ;
18+ use Ibexa \Contracts \User \PasswordReset \NotifierInterface ;
1919use Swift_Mailer ;
2020use Swift_Message ;
2121use Twig \Environment ;
2222
23- final class Notifier implements PasswordResetNotifierInterface
23+ final class Notifier implements NotifierInterface
2424{
2525 private ConfigResolverInterface $ configResolver ;
2626
You can’t perform that action at this time.
0 commit comments