Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
move event listener method type hint docs to @event annotations defau…
Browse files Browse the repository at this point in the history
…lt value. makes it easily parsable by PhpStorm plugin
  • Loading branch information
Haehnchen authored and fabpot committed May 3, 2016
1 parent f9afda8 commit cc9e959
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
11 changes: 2 additions & 9 deletions Core/AuthenticationEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ final class AuthenticationEvents
* The AUTHENTICATION_SUCCESS event occurs after a user is authenticated
* by one provider.
*
* The event listener method receives a
* Symfony\Component\Security\Core\Event\AuthenticationEvent instance.
*
* @Event
* @Event("Symfony\Component\Security\Core\Event\AuthenticationEvent")
*
* @var string
*/
Expand All @@ -30,11 +27,7 @@ final class AuthenticationEvents
* The AUTHENTICATION_FAILURE event occurs after a user cannot be
* authenticated by any of the providers.
*
* The event listener method receives a
* Symfony\Component\Security\Core\Event\AuthenticationFailureEvent
* instance.
*
* @Event
* @Event("Symfony\Component\Security\Core\Event\AuthenticationFailureEvent")
*
* @var string
*/
Expand Down
10 changes: 2 additions & 8 deletions Http/SecurityEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ final class SecurityEvents
* The INTERACTIVE_LOGIN event occurs after a user is logged in
* interactively for authentication based on http, cookies or X509.
*
* The event listener method receives a
* Symfony\Component\Security\Http\Event\InteractiveLoginEvent instance.
*
* @Event
* @Event("Symfony\Component\Security\Http\Event\InteractiveLoginEvent")
*
* @var string
*/
Expand All @@ -30,10 +27,7 @@ final class SecurityEvents
* The SWITCH_USER event occurs before switch to another user and
* before exit from an already switched user.
*
* The event listener method receives a
* Symfony\Component\Security\Http\Event\SwitchUserEvent instance.
*
* @Event
* @Event("Symfony\Component\Security\Http\Event\SwitchUserEvent")
*
* @var string
*/
Expand Down

0 comments on commit cc9e959

Please sign in to comment.