summaryrefslogtreecommitdiffstats
path: root/Core/Authentication
diff options
context:
space:
mode:
authorChristophe Coevoet <stof@notk.org>2014-12-29 23:41:34 +0100
committerChristophe Coevoet <stof@notk.org>2014-12-29 23:41:34 +0100
commit334fbcff8c7cb9ac36a76d5717724769ea87aed3 (patch)
tree52943890ae277472a04eeb5790c2db367c435fd1 /Core/Authentication
parenta542abcf38b95de8e8f01f42b6127e7fffc645a8 (diff)
downloadsymfony-security-334fbcff8c7cb9ac36a76d5717724769ea87aed3.zip
symfony-security-334fbcff8c7cb9ac36a76d5717724769ea87aed3.tar.gz
symfony-security-334fbcff8c7cb9ac36a76d5717724769ea87aed3.tar.bz2
Fix phpdoc and coding standards
This removes the unused use statements which were not catched by PHP-CS-Fixer because of string occurences. It also fixes some invalid phpdoc (scalar is not recognized as a valid type for instance).
Diffstat (limited to 'Core/Authentication')
-rw-r--r--Core/Authentication/Provider/UserAuthenticationProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Authentication/Provider/UserAuthenticationProvider.php b/Core/Authentication/Provider/UserAuthenticationProvider.php
index 3728c01..b948135 100644
--- a/Core/Authentication/Provider/UserAuthenticationProvider.php
+++ b/Core/Authentication/Provider/UserAuthenticationProvider.php
@@ -113,7 +113,7 @@ abstract class UserAuthenticationProvider implements AuthenticationProviderInter
* @param UserInterface $user The user
* @param TokenInterface $token The token
*
- * @return Role[] The user roles
+ * @return array The user roles
*/
private function getRoles(UserInterface $user, TokenInterface $token)
{