diff --git a/src/Symfony/Bundle/FrameworkBundle/Templating/GlobalVariables.php b/src/Symfony/Bundle/FrameworkBundle/Templating/GlobalVariables.php index af3b34ac9b..c223ab9022 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Templating/GlobalVariables.php +++ b/src/Symfony/Bundle/FrameworkBundle/Templating/GlobalVariables.php @@ -26,6 +26,9 @@ class GlobalVariables { protected $container; + /** + * @param ContainerInterface $container The DI container + */ public function __construct(ContainerInterface $container) { $this->container = $container; @@ -46,7 +49,7 @@ class GlobalVariables /** * Returns the current user. * - * @return mixed|void + * @return mixed * * @see TokenInterface::getUser() */ diff --git a/src/Symfony/Component/Security/Core/User/UserInterface.php b/src/Symfony/Component/Security/Core/User/UserInterface.php index f5bbde2fc6..6e9b0f1899 100644 --- a/src/Symfony/Component/Security/Core/User/UserInterface.php +++ b/src/Symfony/Component/Security/Core/User/UserInterface.php @@ -80,8 +80,6 @@ interface UserInterface * * This is important if, at any given point, sensitive information like * the plain-text password is stored on this object. - * - * @return void */ public function eraseCredentials(); }