diff options
author | Dariusz Górecki <darek.krk@gmail.com> | 2011-12-19 21:05:24 +0100 |
---|---|---|
committer | Dariusz Górecki <darek.krk@gmail.com> | 2012-01-10 21:55:04 +0100 |
commit | 5aa62b93500b226e081fad4b9e08890b78e3abd5 (patch) | |
tree | 00392bea8f254caf95bfff73c66e6dbdf7c3cd32 | |
parent | 139482e0da4b00a4cbb33c6ccdd5a922c1ffdd88 (diff) | |
download | symfony-security-5aa62b93500b226e081fad4b9e08890b78e3abd5.zip symfony-security-5aa62b93500b226e081fad4b9e08890b78e3abd5.tar.gz symfony-security-5aa62b93500b226e081fad4b9e08890b78e3abd5.tar.bz2 |
Suggested fixes ;)
-rw-r--r-- | Core/User/ComparableInterface.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Core/User/ComparableInterface.php b/Core/User/ComparableInterface.php index 2d1fe8f..0dde4f1 100644 --- a/Core/User/ComparableInterface.php +++ b/Core/User/ComparableInterface.php @@ -12,7 +12,7 @@ namespace Symfony\Component\Security\Core\User; /** - * ComparatorInterface used to test if two object are equal in security + * ComparableInterface used to test if two objects are equal in security * and re-authentication context. * * @author Dariusz Górecki <darek.krk@gmail.com> @@ -26,7 +26,9 @@ interface ComparableInterface * However, you do not need to compare every attribute, but only those that * are relevant for assessing whether re-authentication is required. * - * @return boolean + * @param UserInterface $user + * + * @return Boolean */ - public function compareTo($object); + function compareTo(UserInterface $user); } |