Fix typo in role hierarchy docs

Closes gh-10804
This commit is contained in:
giger85 2022-02-03 18:58:25 +09:00 committed by Eleftheria Stein
parent 7c9de7d0ff
commit 27ecae2545
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ AccessDecisionVoter hierarchyVoter() {
hierarchy.setHierarchy("ROLE_ADMIN > ROLE_STAFF\n" +
"ROLE_STAFF > ROLE_USER\n" +
"ROLE_USER > ROLE_GUEST");
return new RoleHierarcyVoter(hierarchy);
return new RoleHierarchyVoter(hierarchy);
}
----