File tree 1 file changed +2
-5
lines changed 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 14
14
use FOS \UserBundle \FOSUserEvents ;
15
15
use Symfony \Component \EventDispatcher \Event ;
16
16
use Symfony \Component \EventDispatcher \EventSubscriberInterface ;
17
- use Symfony \Component \HttpFoundation \Session \SessionInterface ;
17
+ use Symfony \Component \HttpFoundation \Session \Session ;
18
18
use Symfony \Component \Translation \TranslatorInterface ;
19
19
20
20
class FlashListener implements EventSubscriberInterface
@@ -29,13 +29,10 @@ class FlashListener implements EventSubscriberInterface
29
29
FOSUserEvents::RESETTING_RESET_COMPLETED => 'resetting.flash.success ' ,
30
30
);
31
31
32
- /**
33
- * @var \Symfony\Component\HttpFoundation\Session\Session
34
- */
35
32
private $ session ;
36
33
private $ translator ;
37
34
38
- public function __construct (SessionInterface $ session , TranslatorInterface $ translator )
35
+ public function __construct (Session $ session , TranslatorInterface $ translator )
39
36
{
40
37
$ this ->session = $ session ;
41
38
$ this ->translator = $ translator ;
You can’t perform that action at this time.
0 commit comments