Skip to content

Commit b71c0a9

Browse files
lrljoegithub-actions[bot]
authored andcommitted
Fix styling
1 parent 3b19f3e commit b71c0a9

File tree

3 files changed

+7
-39
lines changed

3 files changed

+7
-39
lines changed

src/DataTransferObjects/DebuggableData.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77
class DebuggableData
88
{
9-
public function __construct(public DataTableComponent $component)
10-
{
11-
}
9+
public function __construct(public DataTableComponent $component) {}
1210

1311
/**
1412
* Returns data to an array

src/DataTransferObjects/FilterGenericData.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44

55
class FilterGenericData
66
{
7-
public function __construct(public string $tableName, public string $filterLayout, public bool $isTailwind = false, public bool $isBootstrap4 = false, public bool $isBootstrap5 = false)
8-
{
9-
}
7+
public function __construct(public string $tableName, public string $filterLayout, public bool $isTailwind = false, public bool $isBootstrap4 = false, public bool $isBootstrap5 = false) {}
108

119
/**
1210
* Convert To Array

src/DataTransferObjects/Filters/FilterPillData.php

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ public static function make(string $filterKey, string $filterPillTitle, string|a
3333

3434
/**
3535
* Get the Filter Key
36-
*
37-
* @return string
3836
*/
3937
public function getFilterKey(): string
4038
{
@@ -43,14 +41,12 @@ public function getFilterKey(): string
4341

4442
/**
4543
* Get the title for the Filter Pill
46-
*
47-
* @return string
4844
*/
4945
public function getTitle(): string
5046
{
5147
return $this->filterPillTitle;
5248
}
53-
49+
5450
/**
5551
* Get The Filter Pill Value
5652
*
@@ -63,8 +59,6 @@ public function getPillValue(): array|string|null
6359

6460
/**
6561
* Determing if there is a Custom Pill blade set
66-
*
67-
* @return boolean
6862
*/
6963
public function getHasCustomPillBlade(): bool
7064
{
@@ -73,8 +67,6 @@ public function getHasCustomPillBlade(): bool
7367

7468
/**
7569
* Get The Custom Pill Blade (if set)
76-
*
77-
* @return string|null
7870
*/
7971
public function getCustomPillBlade(): ?string
8072
{
@@ -93,8 +85,6 @@ public function getCustomResetButtonAttributes(): array
9385

9486
/**
9587
* Determine of this is an External Livewire Filter
96-
*
97-
* @return integer
9888
*/
9989
public function getIsAnExternalLivewireFilter(): int
10090
{
@@ -103,8 +93,6 @@ public function getIsAnExternalLivewireFilter(): int
10393

10494
/**
10595
* Get the Separator for Pill Values
106-
*
107-
* @return string
10896
*/
10997
public function getSeparator(): string
11098
{
@@ -113,8 +101,6 @@ public function getSeparator(): string
113101

114102
/**
115103
* Determine if Pills should render as HTML
116-
*
117-
* @return integer
118104
*/
119105
public function shouldUsePillsAsHtml(): int
120106
{
@@ -123,8 +109,6 @@ public function shouldUsePillsAsHtml(): int
123109

124110
/**
125111
* Determine if Pill Title should render as HTML
126-
*
127-
* @return integer
128112
*/
129113
public function shouldUsePillsTitleAsHtml(): int
130114
{
@@ -133,8 +117,6 @@ public function shouldUsePillsTitleAsHtml(): int
133117

134118
/**
135119
* Determine if Should watch for Events (i.e. is an External Filter)
136-
*
137-
* @return integer
138120
*/
139121
public function shouldWatchForEvents(): int
140122
{
@@ -143,8 +125,6 @@ public function shouldWatchForEvents(): int
143125

144126
/**
145127
* Determine if Pill Value is an Array
146-
*
147-
* @return boolean
148128
*/
149129
public function isPillValueAnArray(): bool
150130
{
@@ -153,8 +133,6 @@ public function isPillValueAnArray(): bool
153133

154134
/**
155135
* Return the separator separated value for the pill
156-
*
157-
* @return string|null
158136
*/
159137
public function getSeparatedPillValue(): ?string
160138
{
@@ -167,8 +145,6 @@ public function getSeparatedPillValue(): ?string
167145

168146
/**
169147
* Return the safe, separator separated value for the pill
170-
*
171-
* @return string|null
172148
*/
173149
public function getSafeSeparatedPillValue(): ?string
174150
{
@@ -203,11 +179,10 @@ public function getFilterPillDisplayDataArray(): array
203179
return $this->getInternalFilterPillDisplayDataArray($array);
204180
}
205181

206-
207182
/**
208183
* Get the Display Data for the Filter Pills
209184
*
210-
* @param array<mixed> $array
185+
* @param array<mixed> $array
211186
* @return array<mixed>
212187
*/
213188
public function getExternalFilterPillDisplayDataArray(array $array = []): array
@@ -220,7 +195,7 @@ public function getExternalFilterPillDisplayDataArray(array $array = []): array
220195
/**
221196
* Get the Display Data for the Filter Pills
222197
*
223-
* @param array<mixed> $array
198+
* @param array<mixed> $array
224199
* @return array<mixed>
225200
*/
226201
public function getInternalFilterPillDisplayDataArray(array $array = []): array
@@ -236,7 +211,7 @@ public function getInternalFilterPillDisplayDataArray(array $array = []): array
236211
/**
237212
* Get the Display Data for the Filter Pills Title
238213
*
239-
* @param array<mixed> $array
214+
* @param array<mixed> $array
240215
* @return array<mixed>
241216
*/
242217
public function getFilterTitleDisplayDataArray(array $array = []): array
@@ -249,8 +224,6 @@ public function getFilterTitleDisplayDataArray(array $array = []): array
249224
/**
250225
* Get the initial setup data
251226
*
252-
* @param string $filterKey
253-
* @param boolean $shouldWatch
254227
* @return array<mixed>
255228
*/
256229
public function getPillSetupData(string $filterKey = '', bool $shouldWatch = false): array
@@ -263,8 +236,7 @@ public function getPillSetupData(string $filterKey = '', bool $shouldWatch = fal
263236
/**
264237
* Calculate Any Reset Button Attributes
265238
*
266-
* @param string $filterKey
267-
* @param array<mixed> $filterPillsResetFilterButtonAttributes
239+
* @param array<mixed> $filterPillsResetFilterButtonAttributes
268240
* @return array<mixed>
269241
*/
270242
public function getCalculatedCustomResetButtonAttributes(string $filterKey, array $filterPillsResetFilterButtonAttributes): array

0 commit comments

Comments
 (0)