Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashammarstrand authored and github-actions[bot] committed Sep 13, 2023
1 parent d53757a commit 5c7c9a1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/DataTableComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ abstract class DataTableComponent extends Component
WithEvents,
WithFilters,
WithFooter,
WithSecondaryHeader,
WithPagination,
WithRefresh,
WithReordering,
WithSearch,
WithSecondaryHeader,
WithSorting;

protected $listeners = [
Expand Down
6 changes: 3 additions & 3 deletions src/Views/Columns/ComponentColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

class ComponentColumn extends Column
{
use ComponentColumnHelpers,
ComponentColumnConfiguration;
use ComponentColumnConfiguration,
ComponentColumnHelpers;

protected string $componentView;

Expand All @@ -32,7 +32,7 @@ public function getContents(Model $row)
throw new DataTableConfigurationException('You can not use a label column with a component column');
}

if (false === $this->hasComponentView()) {
if ($this->hasComponentView() === false) {
throw new DataTableConfigurationException('You must specify a component view for a component column');
}

Expand Down
4 changes: 2 additions & 2 deletions src/Views/Columns/ImageColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

class ImageColumn extends Column
{
use ImageColumnHelpers,
ImageColumnConfiguration;
use ImageColumnConfiguration,
ImageColumnHelpers;

protected string $view = 'livewire-tables::includes.columns.image';

Expand Down
4 changes: 2 additions & 2 deletions src/Views/Columns/LinkColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

class LinkColumn extends Column
{
use LinkColumnHelpers,
LinkColumnConfiguration;
use LinkColumnConfiguration,
LinkColumnHelpers;

protected string $view = 'livewire-tables::includes.columns.link';

Expand Down

0 comments on commit 5c7c9a1

Please sign in to comment.