File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,10 @@ final class ClassType
24
24
use Nette \SmartObject;
25
25
use Traits \CommentAware;
26
26
27
- const TYPE_CLASS = 'class ' ;
28
- const TYPE_INTERFACE = 'interface ' ;
29
- const TYPE_TRAIT = 'trait ' ;
27
+ public const
28
+ TYPE_CLASS = 'class ' ,
29
+ TYPE_INTERFACE = 'interface ' ,
30
+ TYPE_TRAIT = 'trait ' ;
30
31
31
32
/** @var PhpNamespace|null */
32
33
private $ namespace ;
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ final class Helpers
19
19
{
20
20
use Nette \StaticClass;
21
21
22
- const PHP_IDENT = '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]* ' ;
23
- const MAX_DEPTH = 50 ;
24
- const WRAP_LENGTH = 70 ;
22
+ public const PHP_IDENT = '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]* ' ;
23
+ private const MAX_DEPTH = 50 ;
24
+ private const WRAP_LENGTH = 70 ;
25
25
26
26
27
27
/**
You can’t perform that action at this time.
0 commit comments