diff options
author | Daniel Espendiller <daniel@espendiller.net> | 2016-05-01 13:45:36 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2016-05-03 20:48:46 +0200 |
commit | cc9e95904aafbb46d8e5133049078ba099f9c4e1 (patch) | |
tree | b1aa1ed87b8a5f60202bc4d3f55f1d78d67495af | |
parent | f9afda8b87bc1acf3a59d8e248d450559f430b04 (diff) | |
download | symfony-security-cc9e95904aafbb46d8e5133049078ba099f9c4e1.zip symfony-security-cc9e95904aafbb46d8e5133049078ba099f9c4e1.tar.gz symfony-security-cc9e95904aafbb46d8e5133049078ba099f9c4e1.tar.bz2 |
move event listener method type hint docs to @Event annotations default value. makes it easily parsable by PhpStorm plugin
-rw-r--r-- | Core/AuthenticationEvents.php | 11 | ||||
-rw-r--r-- | Http/SecurityEvents.php | 10 |
2 files changed, 4 insertions, 17 deletions
diff --git a/Core/AuthenticationEvents.php b/Core/AuthenticationEvents.php index 13bce30..dfbd903 100644 --- a/Core/AuthenticationEvents.php +++ b/Core/AuthenticationEvents.php @@ -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 */ @@ -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 */ diff --git a/Http/SecurityEvents.php b/Http/SecurityEvents.php index 46c8257..550acb4 100644 --- a/Http/SecurityEvents.php +++ b/Http/SecurityEvents.php @@ -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 */ @@ -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 */ |