Skip to content

Commit c4bd81b

Browse files
lrljoegithub-actions[bot]
authored andcommitted
Fix styling
1 parent c241228 commit c4bd81b

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

src/Views/Columns/ArrayColumn.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ public function getContents(Model $row): null|string|\BackedEnum|HtmlString|Data
5555

5656
$returnedValue = (! empty($outputValues) ? implode($this->getSeparator(), $outputValues) : $this->getEmptyValue());
5757

58-
if ($this->hasOutputWrapperStart() && $this->hasOutputWrapperEnd())
59-
{
60-
$returnedValue = $this->getOutputWrapperStart() . $returnedValue . $this->getOutputWrapperEnd();
58+
if ($this->hasOutputWrapperStart() && $this->hasOutputWrapperEnd()) {
59+
$returnedValue = $this->getOutputWrapperStart().$returnedValue.$this->getOutputWrapperEnd();
6160
}
61+
6262
return new HtmlString($returnedValue);
6363
}
6464
}

src/Views/Columns/Traits/Configuration/ArrayColumnConfiguration.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public function emptyValue(string $emptyValue): self
3535
return $this;
3636
}
3737

38-
3938
public function wrapperStart(string $value): self
4039
{
4140
$this->outputWrapperStart = $value;
@@ -55,15 +54,14 @@ public function flexCol(array $attribs = []): self
5554
$bag = new ComponentAttributeBag(['class' => $this->isTailwind() ? 'flex flex-col' : 'd-flex d-flex-col']);
5655

5756
return $this->wrapperStart('<div '.$bag->merge($attribs).'>')
58-
->wrapperEnd('</div>');
57+
->wrapperEnd('</div>');
5958
}
6059

6160
public function flexRow(array $attribs = []): self
6261
{
6362
$bag = new ComponentAttributeBag(['class' => $this->isTailwind() ? 'flex flex-row' : 'd-flex d-flex-row']);
6463

6564
return $this->wrapperStart('<div '.$bag->merge($attribs).'>')
66-
->wrapperEnd('</div>');
65+
->wrapperEnd('</div>');
6766
}
68-
6967
}

src/Views/Columns/Traits/Helpers/ArrayColumnHelpers.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ public function getOutputFormatCallback(): ?callable
3939
return $this->outputFormat;
4040
}
4141

42-
43-
4442
public function hasOutputWrapperStart(): bool
4543
{
4644
return $this->outputWrapperStart !== null && is_string($this->outputWrapperStart);

0 commit comments

Comments
 (0)