File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1414use FOS \UserBundle \FOSUserEvents ;
1515use Symfony \Component \EventDispatcher \Event ;
1616use Symfony \Component \EventDispatcher \EventSubscriberInterface ;
17- use Symfony \Component \HttpFoundation \Session \Session ;
17+ use Symfony \Component \HttpFoundation \Session \SessionInterface ;
1818use Symfony \Component \Translation \TranslatorInterface ;
1919
2020class FlashListener implements EventSubscriberInterface
@@ -33,7 +33,7 @@ class FlashListener implements EventSubscriberInterface
3333 );
3434
3535 /**
36- * @var Session
36+ * @var SessionInterface
3737 */
3838 private $ session ;
3939
@@ -45,10 +45,10 @@ class FlashListener implements EventSubscriberInterface
4545 /**
4646 * FlashListener constructor.
4747 *
48- * @param Session $session
48+ * @param SessionInterface $session
4949 * @param TranslatorInterface $translator
5050 */
51- public function __construct (Session $ session , TranslatorInterface $ translator )
51+ public function __construct (SessionInterface $ session , TranslatorInterface $ translator )
5252 {
5353 $ this ->session = $ session ;
5454 $ this ->translator = $ translator ;
You can’t perform that action at this time.
0 commit comments