Skip to content

Commit f1c0655

Browse files
Haehnchenfabpot
authored andcommitted
move event listener method type hint docs to @event annotations default value. makes it easily parsable by PhpStorm plugin
1 parent 3c39814 commit f1c0655

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

SecurityEvents.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ final class SecurityEvents
1717
* The INTERACTIVE_LOGIN event occurs after a user is logged in
1818
* interactively for authentication based on http, cookies or X509.
1919
*
20-
* The event listener method receives a
21-
* Symfony\Component\Security\Http\Event\InteractiveLoginEvent instance.
22-
*
23-
* @Event
20+
* @Event("Symfony\Component\Security\Http\Event\InteractiveLoginEvent")
2421
*
2522
* @var string
2623
*/
@@ -30,10 +27,7 @@ final class SecurityEvents
3027
* The SWITCH_USER event occurs before switch to another user and
3128
* before exit from an already switched user.
3229
*
33-
* The event listener method receives a
34-
* Symfony\Component\Security\Http\Event\SwitchUserEvent instance.
35-
*
36-
* @Event
30+
* @Event("Symfony\Component\Security\Http\Event\SwitchUserEvent")
3731
*
3832
* @var string
3933
*/

0 commit comments

Comments
 (0)