summaryrefslogtreecommitdiffstats
path: root/Core/Authentication
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2016-06-29 07:29:29 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2016-06-29 07:29:29 +0200
commit523bf2714a038020ed98410525ab71908e250a0d (patch)
treefde71f5507ad17ab92f736f0aef4828c4bb9607e /Core/Authentication
parent17397d5c43a3572f68fa3fc2ea72fb3a14e88368 (diff)
parentb583bf8ede8938a8ec5593da5da544fc4a8a73d9 (diff)
downloadsymfony-security-523bf2714a038020ed98410525ab71908e250a0d.zip
symfony-security-523bf2714a038020ed98410525ab71908e250a0d.tar.gz
symfony-security-523bf2714a038020ed98410525ab71908e250a0d.tar.bz2
Merge branch '2.7' into 2.8v2.8.8
* 2.7: removed dots at the end of @param and @return fixed typo
Diffstat (limited to 'Core/Authentication')
-rw-r--r--Core/Authentication/Token/AnonymousToken.php2
-rw-r--r--Core/Authentication/Token/PreAuthenticatedToken.php2
-rw-r--r--Core/Authentication/Token/TokenInterface.php2
-rw-r--r--Core/Authentication/Token/UsernamePasswordToken.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/Core/Authentication/Token/AnonymousToken.php b/Core/Authentication/Token/AnonymousToken.php
index 71dea32..bbbfe64 100644
--- a/Core/Authentication/Token/AnonymousToken.php
+++ b/Core/Authentication/Token/AnonymousToken.php
@@ -26,7 +26,7 @@ class AnonymousToken extends AbstractToken
* Constructor.
*
* @param string $secret A secret used to make sure the token is created by the app and not by a malicious client
- * @param string|object $user The user can be a UserInterface instance, or an object implementing a __toString method or the username as a regular string.
+ * @param string|object $user The user can be a UserInterface instance, or an object implementing a __toString method or the username as a regular string
* @param RoleInterface[] $roles An array of roles
*/
public function __construct($secret, $user, array $roles = array())
diff --git a/Core/Authentication/Token/PreAuthenticatedToken.php b/Core/Authentication/Token/PreAuthenticatedToken.php
index 5a3fc95..b4b5e70 100644
--- a/Core/Authentication/Token/PreAuthenticatedToken.php
+++ b/Core/Authentication/Token/PreAuthenticatedToken.php
@@ -26,7 +26,7 @@ class PreAuthenticatedToken extends AbstractToken
/**
* Constructor.
*
- * @param string|object $user The user can be a UserInterface instance, or an object implementing a __toString method or the username as a regular string.
+ * @param string|object $user The user can be a UserInterface instance, or an object implementing a __toString method or the username as a regular string
* @param mixed $credentials The user credentials
* @param string $providerKey The provider key
* @param RoleInterface[]|string[] $roles An array of roles
diff --git a/Core/Authentication/Token/TokenInterface.php b/Core/Authentication/Token/TokenInterface.php
index be90802..4e1dd7b 100644
--- a/Core/Authentication/Token/TokenInterface.php
+++ b/Core/Authentication/Token/TokenInterface.php
@@ -33,7 +33,7 @@ interface TokenInterface extends \Serializable
/**
* Returns the user roles.
*
- * @return RoleInterface[] An array of RoleInterface instances.
+ * @return RoleInterface[] An array of RoleInterface instances
*/
public function getRoles();
diff --git a/Core/Authentication/Token/UsernamePasswordToken.php b/Core/Authentication/Token/UsernamePasswordToken.php
index 9248136..33b00f0 100644
--- a/Core/Authentication/Token/UsernamePasswordToken.php
+++ b/Core/Authentication/Token/UsernamePasswordToken.php
@@ -26,7 +26,7 @@ class UsernamePasswordToken extends AbstractToken
/**
* Constructor.
*
- * @param string|object $user The username (like a nickname, email address, etc.), or a UserInterface instance or an object implementing a __toString method.
+ * @param string|object $user The username (like a nickname, email address, etc.), or a UserInterface instance or an object implementing a __toString method
* @param string $credentials This usually is the password of the user
* @param string $providerKey The provider key
* @param RoleInterface[]|string[] $roles An array of roles