8000 Revert "merged branch yktd26/master (PR #1673)" · symfony/symfony@d80ee41 · GitHub
[go: up one dir, main page]

Skip to content

Commit d80ee41

Browse files
committed
Revert "merged branch yktd26/master (PR #1673)"
This reverts commit af70ac8, reversing changes made to c881379.
1 parent af70ac8 commit d80ee41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Security/Acl/Domain/RoleSecurityIdentity.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\Security\Acl\Domain;
1313

1414
use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface;
15-
use Symfony\Component\Security\Core\Role\RoleInterface;
15+
use Symfony\Component\Security\Core\Role\Role;
1616

1717
/**
1818
* A SecurityIdentity implementation for roles
@@ -31,7 +31,7 @@ final class RoleSecurityIdentity implements SecurityIdentityInterface
3131
*/
3232
public function __construct($role)
3333
{
34-
if ($role instanceof RoleInterface) {
34+
if ($role instanceof Role) {
3535
$role = $role->getRole();
3636
}
3737

0 commit comments

Comments
 (0)
0