summaryrefslogtreecommitdiffstats
path: root/Core/Role
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Role')
-rw-r--r--Core/Role/RoleHierarchy.php6
-rw-r--r--Core/Role/RoleHierarchyInterface.php2
2 files changed, 2 insertions, 6 deletions
diff --git a/Core/Role/RoleHierarchy.php b/Core/Role/RoleHierarchy.php
index 44ccb39..793007e 100644
--- a/Core/Role/RoleHierarchy.php
+++ b/Core/Role/RoleHierarchy.php
@@ -34,11 +34,7 @@ class RoleHierarchy implements RoleHierarchyInterface
}
/**
- * Returns an array of all roles reachable by the given ones.
- *
- * @param RoleInterface[] $roles An array of RoleInterface instances
- *
- * @return RoleInterface[] An array of RoleInterface instances
+ * {@inheritdoc}
*/
public function getReachableRoles(array $roles)
{
diff --git a/Core/Role/RoleHierarchyInterface.php b/Core/Role/RoleHierarchyInterface.php
index 2ea6ca3..c994009 100644
--- a/Core/Role/RoleHierarchyInterface.php
+++ b/Core/Role/RoleHierarchyInterface.php
@@ -19,7 +19,7 @@ namespace Symfony\Component\Security\Core\Role;
interface RoleHierarchyInterface
{
/**
- * Returns an array of all reachable roles.
+ * Returns an array of all reachable roles by the given ones.
*
* Reachable roles are the roles directly assigned but also all roles that
* are transitively reachable from them in the role hierarchy.