8000 Suggested fixes ;) · rfanjul/symfony@680b108 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 680b108

Browse files
committed
Suggested fixes ;)
1 parent 9386583 commit 680b108

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/Symfony/Component/Security/Core/User/ComparableInterface.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\Security\Core\User;
1313

1414
/**
15-
* ComparatorInterface used to test if two object are equal in security
15+
* ComparableInterface used to test if two objects are equal in security
1616
* and re-authentication context.
1717
*
1818
* @author Dariusz Górecki <darek.krk@gmail.com>
@@ -26,7 +26,9 @@ interface ComparableInterface
2626
* However, you do not need to compare every attribute, but only those that
2727
* are relevant for assessing whether re-authentication is required.
2828
*
29-
* @return boolean
29+
* @param UserInterface $user
30+
*
31+
* @return Boolean
3032
*/
31-
public function compareTo($object);
33+
function compareTo(UserInterface $user);
3234
}

0 commit comments

Comments
 (0)
0