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 44
55class CheckboxStyle
66{
7- protected const DEFAULT_STYLES = [
7+ private const DEFAULT_STYLES = [
88 'markerOn ' => '[✔] ' ,
99 'markerOff ' => '[ ] ' ,
1010 'itemExtra ' => '✔ ' ,
1111 'displaysExtra ' => false ,
1212 ];
1313
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 ;
2338
2439 public function __construct ()
2540 {
Original file line number Diff line number Diff line change 44
55class RadioStyle
66{
7- protected const DEFAULT_STYLES = [
7+ private const DEFAULT_STYLES = [
88 'markerOn ' => '[●] ' ,
99 'markerOff ' => '[○] ' ,
1010 'itemExtra ' => '✔ ' ,
1111 'displaysExtra ' => false ,
1212 ];
1313
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+ */
2237 protected $ custom = false ;
2338
2439 public function __construct ()
You can’t perform that action at this time.
0 commit comments