Skip to content

Commit ee3546c

Browse files
committed
Test
1 parent b8fb50e commit ee3546c

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

src/Features/Filters/Views/NumberRangeFilter.php

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,30 @@ class NumberRangeFilter extends Filter
1111

1212
/**
1313
* Undocumented variable
14+
*
15+
* @var string
1416
*/
1517
public string $wireMethod = 'blur';
1618

1719
/**
1820
* The path to the view for this filter
21+
*
22+
* @var string
1923
*/
2024
protected string $view = 'livewire-tables::components.tools.filters.number-range';
2125

2226
/**
2327
* Undocumented variable
28+
*
29+
* @var string
2430
*/
2531
protected string $configPath = 'livewire-tables.numberRange.defaultConfig';
2632

2733
/**
2834
* Undocumented function
2935
*
30-
* @param array<mixed> $options
36+
* @param array<mixed> $options
37+
* @return NumberRangeFilter
3138
*/
3239
public function options(array $options = []): NumberRangeFilter
3340
{
@@ -49,7 +56,8 @@ public function getOptions(): array
4956
/**
5057
* Undocumented function
5158
*
52-
* @param array<mixed> $config
59+
* @param array<mixed> $config
60+
* @return NumberRangeFilter
5361
*/
5462
public function config(array $config = []): NumberRangeFilter
5563
{
@@ -71,8 +79,8 @@ public function getConfigs(): array
7179
/**
7280
* Validates that the value received by the Filter is valid
7381
*
74-
* @param array<mixed> $values
75-
* @return array<mixed>|bool
82+
* @param array<mixed> $values
83+
* @return array<mixed>|boolean
7684
*/
7785
public function validate(array $values): array|bool
7886
{
@@ -100,7 +108,8 @@ public function validate(array $values): array|bool
100108
/**
101109
* Checks if the Filter Value is empty
102110
*
103-
* @param array<mixed>|string $value
111+
* @param array<mixed>|string $value
112+
* @return boolean
104113
*/
105114
public function isEmpty(array|string $value): bool
106115
{
@@ -132,8 +141,8 @@ public function getDefaultValue(): array|string
132141
/**
133142
* Retrieves the Filter Value for use in the Filter Pills area
134143
*
135-
* @param mixed $values
136-
* @return array<mixed>|string|bool|null
144+
* @param mixed $values
145+
* @return array<mixed>|string|boolean|null
137146
*/
138147
public function getFilterPillValue($values): array|string|bool|null
139148
{

0 commit comments

Comments
 (0)