File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function grouped(bool $condition = true): static
37
37
return $ this ;
38
38
}
39
39
40
- public function isGrouped ():bool
40
+ public function isGrouped (): bool
41
41
{
42
42
return $ this ->grouped ;
43
43
}
@@ -49,7 +49,7 @@ public function list(bool $condition = true): static
49
49
return $ this ;
50
50
}
51
51
52
- public function isList ():bool
52
+ public function isList (): bool
53
53
{
54
54
return $ this ->list ;
55
55
}
Original file line number Diff line number Diff line change 6
6
7
7
final class ListItem implements Arrayable
8
8
{
9
- protected int |string $ id ;
9
+ protected int | string $ id ;
10
+
10
11
protected string $ label = '' ;
12
+
11
13
protected ?string $ icon = null ;
14
+
12
15
protected ?string $ iconSize = null ;
16
+
13
17
protected ?string $ color = null ;
18
+
14
19
protected ?string $ iconColor = null ;
20
+
15
21
protected ?string $ url = null ;
22
+
16
23
protected ?string $ badge = null ;
24
+
17
25
protected ?bool $ openInNewTab = false ;
18
26
19
27
public static function make (): ListItem
20
28
{
21
29
return new ListItem ();
22
30
}
23
31
24
- public function id (int | string $ id ): ListItem
32
+ public function id (int | string $ id ): ListItem
25
33
{
26
34
$ this ->id = $ id ;
27
35
You can’t perform that action at this time.
0 commit comments