Skip to content

Commit d419cd0

Browse files
Apply "visibility_required" CS rule to constants
php-cs-fixer fix --rules='{"visibility_required": ["property", "method", "const"]}'
1 parent cd980f0 commit d419cd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

EventListener/WebDebugToolbarListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
*/
3636
class WebDebugToolbarListener implements EventSubscriberInterface
3737
{
38-
const DISABLED = 1;
39-
const ENABLED = 2;
38+
public const DISABLED = 1;
39+
public const ENABLED = 2;
4040

4141
protected $twig;
4242
protected $urlGenerator;

0 commit comments

Comments
 (0)