From a4d72df70b96d282e8e6244332b5a2cc677e64ca Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Mon, 5 Aug 2019 20:46:01 +0200 Subject: [PATCH] [Security\Http] Drop some useless param phpdoc annotations --- .../Component/Security/Http/Firewall/SwitchUserListener.php | 3 +-- src/Symfony/Component/Security/Http/ParameterBagUtils.php | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Symfony/Component/Security/Http/Firewall/SwitchUserListener.php b/src/Symfony/Component/Security/Http/Firewall/SwitchUserListener.php index f80d2ec2caf47..e308f98fd95eb 100644 --- a/src/Symfony/Component/Security/Http/Firewall/SwitchUserListener.php +++ b/src/Symfony/Component/Security/Http/Firewall/SwitchUserListener.php @@ -109,8 +109,7 @@ public function handle(GetResponseEvent $event) /** * Attempts to switch to another user. * - * @param Request $request A Request instance - * @param string $username + * @param string $username * * @return TokenInterface|null The new TokenInterface if successfully switched, null otherwise * diff --git a/src/Symfony/Component/Security/Http/ParameterBagUtils.php b/src/Symfony/Component/Security/Http/ParameterBagUtils.php index eed5421f8f609..c303384418d74 100644 --- a/src/Symfony/Component/Security/Http/ParameterBagUtils.php +++ b/src/Symfony/Component/Security/Http/ParameterBagUtils.php @@ -29,8 +29,7 @@ final class ParameterBagUtils * * Paths like foo[bar] will be evaluated to find deeper items in nested data structures. * - * @param ParameterBag $parameters The parameter bag - * @param string $path The key + * @param string $path The key * * @return mixed * @@ -64,8 +63,7 @@ public static function getParameterBagValue(ParameterBag $parameters, $path) * * Paths like foo[bar] will be evaluated to find deeper items in nested data structures. * - * @param Request $request The request - * @param string $path The key + * @param string $path The key * * @return mixed *