Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and actions-user committed Jul 3, 2023
1 parent ae31cb9 commit ae20a25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Fields/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function indexViewValue(Model $item, bool $container = true): string
->toArray()
: [$this->pathWithDir($item->{$this->field()})];

if (!$container) {
if (! $container) {
return implode(';', array_filter($files));
}

Expand Down
2 changes: 1 addition & 1 deletion src/Fields/ID.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ID extends Text

public function indexViewValue(Model $item, bool $container = true): string
{
if (!$container) {
if (! $container) {
return parent::indexViewValue($item, $container);
}

Expand Down
4 changes: 2 additions & 2 deletions src/Traits/WithFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function indexViewValue(Model $item, bool $container = false): string
&& ! $this instanceof HasOne
&& $this->inLine
) {
return $value?->implode(function ($item) use($container) {
return $value?->implode(function ($item) use ($container) {
$implodeValue = $item->{$this->resourceTitleField()} ?? false;

if ($this->inLineBadge) {
Expand Down Expand Up @@ -165,7 +165,7 @@ function ($in) use ($data, $item): void {
$values = [];
}

if (!$container) {
if (! $container) {
return '';
}

Expand Down

0 comments on commit ae20a25

Please sign in to comment.