File tree Expand file tree Collapse file tree 2 files changed +49
-19
lines changed Expand file tree Collapse file tree 2 files changed +49
-19
lines changed Original file line number Diff line number Diff line change 4
4
5
5
class CheckboxStyle
6
6
{
7
- protected const DEFAULT_STYLES = [
7
+ private const DEFAULT_STYLES = [
8
8
'markerOn ' => '[✔] ' ,
9
9
'markerOff ' => '[ ] ' ,
10
10
'itemExtra ' => '✔ ' ,
11
11
'displaysExtra ' => false ,
12
12
];
13
13
14
- protected $ markerOn = '' ;
15
-
16
- protected $ markerOff = '' ;
17
-
18
- protected $ itemExtra = '' ;
19
-
20
- protected $ displaysExtra = false ;
21
-
22
- protected $ custom = false ;
14
+ /**
15
+ * @var string
16
+ */
17
+ private $ markerOn ;
18
+
19
+ /**
20
+ * @var string
21
+ */
22
+ private $ markerOff ;
23
+
24
+ /**
25
+ * @var string
26
+ */
27
+ private $ itemExtra ;
28
+
29
+ /**
30
+ * @var bool
31
+ */
32
+ private $ displaysExtra ;
33
+
34
+ /**
35
+ * @var bool
36
+ */
37
+ private $ custom = false ;
23
38
24
39
public function __construct ()
25
40
{
Original file line number Diff line number Diff line change 4
4
5
5
class RadioStyle
6
6
{
7
- protected const DEFAULT_STYLES = [
7
+ private const DEFAULT_STYLES = [
8
8
'markerOn ' => '[●] ' ,
9
9
'markerOff ' => '[○] ' ,
10
10
'itemExtra ' => '✔ ' ,
11
11
'displaysExtra ' => false ,
12
12
];
13
13
14
- protected $ markerOn = '' ;
15
-
16
- protected $ markerOff = '' ;
17
-
18
- protected $ itemExtra = '' ;
19
-
20
- protected $ displaysExtra = false ;
21
-
14
+ /**
15
+ * @var string
16
+ */
17
+ private $ markerOn ;
18
+
19
+ /**
20
+ * @var string
21
+ */
22
+ private $ markerOff ;
23
+
24
+ /**
25
+ * @var string
26
+ */
27
+ private $ itemExtra ;
28
+
29
+ /**
30
+ * @var bool
31
+ */
32
+ private $ displaysExtra ;
33
+
34
+ /**
35
+ * @var bool
36
+ */
22
37
protected $ custom = false ;
23
38
24
39
public function __construct ()
You can’t perform that action at this time.
0 commit comments