File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,11 @@ class Checkbox extends MenuItem
6
6
{
7
7
protected string $ type = 'checkbox ' ;
8
8
9
- public function __construct (string $ label , protected bool $ isChecked = false , protected ?string $ accelerator = null )
10
- {
9
+ public function __construct (
10
+ string $ label ,
11
+ protected bool $ isChecked = false ,
12
+ protected ?string $ accelerator = null
13
+ ) {
11
14
$ this ->label = $ label ;
12
15
}
13
16
}
Original file line number Diff line number Diff line change @@ -6,8 +6,11 @@ class Radio extends MenuItem
6
6
{
7
7
protected string $ type = 'radio ' ;
8
8
9
- public function __construct (string $ label , protected bool $ isChecked = false , protected ?string $ accelerator = null )
10
- {
9
+ public function __construct (
10
+ string $ label ,
11
+ protected bool $ isChecked = false ,
12
+ protected ?string $ accelerator = null
13
+ ) {
11
14
$ this ->label = $ label ;
12
15
}
13
16
}
You can’t perform that action at this time.
0 commit comments