From da025b11893ecc7e5105a5a7c8f71cac6819b27a Mon Sep 17 00:00:00 2001 From: Philipp Rieber Date: Sun, 23 Mar 2014 14:13:30 +0100 Subject: [PATCH] [Components][Security] Fix #3708 --- components/security/authorization.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/security/authorization.rst b/components/security/authorization.rst index 3311e962e89..68a4f3379c7 100644 --- a/components/security/authorization.rst +++ b/components/security/authorization.rst @@ -142,7 +142,7 @@ method:: $roleVoter = new RoleVoter('ROLE_'); - $roleVoter->vote($token, $object, 'ROLE_ADMIN'); + $roleVoter->vote($token, $object, array('ROLE_ADMIN')); RoleHierarchyVoter ~~~~~~~~~~~~~~~~~~