File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ class FacetData extends ViewableData
1313
1414 private string |int |float $ to ;
1515
16- private string $ value ;
16+ private string $ name ;
17+
18+ private string |int |float $ value ;
1719
1820 public function getCount (): int
1921 {
@@ -51,12 +53,24 @@ public function setTo(float|int|string $to): self
5153 return $ this ;
5254 }
5355
54- public function getValue (): string
56+ public function getName (): string
57+ {
58+ return $ this ->name ;
59+ }
60+
61+ public function setName (string $ name ): self
62+ {
63+ $ this ->name = $ name ;
64+
65+ return $ this ;
66+ }
67+
68+ public function getValue (): string |int |float
5569 {
5670 return $ this ->value ;
5771 }
5872
59- public function setValue (string $ value ): self
73+ public function setValue (string | int | float $ value ): self
6074 {
6175 $ this ->value = $ value ;
6276
You can’t perform that action at this time.
0 commit comments