Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored and github-actions[bot] committed Feb 24, 2024
1 parent 648520a commit a98398d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/Traits/Helpers/TableAttributeHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,47 +16,47 @@ public function getComponentWrapperAttributes(): array
}

/**
* @return array<mixed>
* @return array<mixed>
*/
public function getTableWrapperAttributes(): array
{
return count($this->tableWrapperAttributes) ? $this->tableWrapperAttributes : ['default' => true];
}

/**
* @return array<mixed>
* @return array<mixed>
*/
public function getTableAttributes(): array
{
return count($this->tableAttributes) ? $this->tableAttributes : ['id' => 'table-'.$this->getTableName(), 'default' => true];
}

/**
* @return array<mixed>
* @return array<mixed>
*/
public function getTheadAttributes(): array
{
return count($this->theadAttributes) ? $this->theadAttributes : ['default' => true];
}

/**
* @return array<mixed>
* @return array<mixed>
*/
public function getTbodyAttributes(): array
{
return count($this->tbodyAttributes) ? $this->tbodyAttributes : ['default' => true];
}

/**
* @return array<mixed>
* @return array<mixed>
*/
public function getThAttributes(Column $column): array
{
return $this->thAttributesCallback ? call_user_func($this->thAttributesCallback, $column) : ['default' => true];
}

/**
* @return array<mixed>
* @return array<mixed>
*/
public function getThSortButtonAttributes(Column $column): array
{
Expand Down
1 change: 0 additions & 1 deletion src/Traits/WithFilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,4 @@ public function updatedFilterComponents(string|array|null $value, string $filter
$this->resetFilter($filterName);
}
}

}

0 comments on commit a98398d

Please sign in to comment.