8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af70ac8 commit d80ee41Copy full SHA for d80ee41
src/Symfony/Component/Security/Acl/Domain/RoleSecurityIdentity.php
@@ -12,7 +12,7 @@
12
namespace Symfony\Component\Security\Acl\Domain;
13
14
use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface;
15
-use Symfony\Component\Security\Core\Role\RoleInterface;
+use Symfony\Component\Security\Core\Role\Role;
16
17
/**
18
* A SecurityIdentity implementation for roles
@@ -31,7 +31,7 @@ final class RoleSecurityIdentity implements SecurityIdentityInterface
31
*/
32
public function __construct($role)
33
{
34
- if ($role instanceof RoleInterface) {
+ if ($role instanceof Role) {
35
$role = $role->getRole();
36
}
37
0 commit comments