Skip to content

Commit 124408f

Browse files
mdoutreluingnejrushlow
authored andcommitted
[Voter] Refactoring attributes
1 parent 916b12e commit 124408f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Resources/skeleton/security/Voter.tpl.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
class <?= $class_name ?> extends Voter
1010
{
11-
const EDIT = 'POST_EDIT';
12-
const VIEW = 'POST_VIEW';
11+
public const EDIT = 'POST_EDIT';
12+
public const VIEW = 'POST_VIEW';
1313

1414
protected function supports(<?= $use_type_hints ? 'string ' : null ?>$attribute, $subject): bool
1515
{

0 commit comments

Comments
 (0)