Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitda025b1

Browse files
committed
[Components][Security]Fixsymfony#3708
1 parent5d4a3a4 commitda025b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎components/security/authorization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ method::
142142

143143
$roleVoter = new RoleVoter('ROLE_');
144144

145-
$roleVoter->vote($token, $object, 'ROLE_ADMIN');
145+
$roleVoter->vote($token, $object,array('ROLE_ADMIN'));
146146

147147
RoleHierarchyVoter
148148
~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp