diff --git a/src/Traits/Configuration/ActionsConfiguration.php b/src/Traits/Configuration/ActionsConfiguration.php
index 31cd4f13e..4c9e76ce5 100644
--- a/src/Traits/Configuration/ActionsConfiguration.php
+++ b/src/Traits/Configuration/ActionsConfiguration.php
@@ -4,8 +4,6 @@
trait ActionsConfiguration
{
-
-
public function setActionsInToolbar(bool $status): self
{
$this->displayActionsInToolbar = $status;
diff --git a/src/Traits/Configuration/CollapsingColumnConfiguration.php b/src/Traits/Configuration/CollapsingColumnConfiguration.php
index 815209017..88e883e7d 100644
--- a/src/Traits/Configuration/CollapsingColumnConfiguration.php
+++ b/src/Traits/Configuration/CollapsingColumnConfiguration.php
@@ -24,6 +24,4 @@ public function setCollapsingColumnsDisabled(): self
return $this;
}
-
-
}
diff --git a/src/Traits/Configuration/PaginationConfiguration.php b/src/Traits/Configuration/PaginationConfiguration.php
index 39a10ea60..4f43c688b 100644
--- a/src/Traits/Configuration/PaginationConfiguration.php
+++ b/src/Traits/Configuration/PaginationConfiguration.php
@@ -175,5 +175,4 @@ public function setShouldRetrieveTotalItemCountDisabled(): self
return $this;
}
-
}
diff --git a/src/Traits/Configuration/ReorderingConfiguration.php b/src/Traits/Configuration/ReorderingConfiguration.php
index 1c1b3ed46..f926b0227 100644
--- a/src/Traits/Configuration/ReorderingConfiguration.php
+++ b/src/Traits/Configuration/ReorderingConfiguration.php
@@ -81,5 +81,4 @@ public function setDefaultReorderSort(string $field, string $direction = 'asc'):
return $this;
}
-
}
diff --git a/src/Traits/Helpers/ActionsHelpers.php b/src/Traits/Helpers/ActionsHelpers.php
index 7fc22ec70..47b3880c1 100644
--- a/src/Traits/Helpers/ActionsHelpers.php
+++ b/src/Traits/Helpers/ActionsHelpers.php
@@ -20,7 +20,6 @@ public function getActionsPosition(): string
return $this->actionsPosition ?? 'right';
}
-
#[Computed]
public function hasActions(): bool
{
diff --git a/src/Traits/Helpers/FooterHelpers.php b/src/Traits/Helpers/FooterHelpers.php
index 9b825deb0..655a38cf5 100644
--- a/src/Traits/Helpers/FooterHelpers.php
+++ b/src/Traits/Helpers/FooterHelpers.php
@@ -40,5 +40,4 @@ public function useHeaderAsFooterIsDisabled(): bool
{
return $this->getUseHeaderAsFooterStatus() === false;
}
-
}
diff --git a/src/Traits/Helpers/PaginationHelpers.php b/src/Traits/Helpers/PaginationHelpers.php
index 343a8d308..801ee7a49 100644
--- a/src/Traits/Helpers/PaginationHelpers.php
+++ b/src/Traits/Helpers/PaginationHelpers.php
@@ -157,5 +157,4 @@ public function getShouldRetrieveTotalItemCount(): bool
{
return $this->shouldRetrieveTotalItemCount;
}
-
}
diff --git a/src/Traits/Helpers/SecondaryHeaderHelpers.php b/src/Traits/Helpers/SecondaryHeaderHelpers.php
index 3e18d60f1..7abc4c1b1 100644
--- a/src/Traits/Helpers/SecondaryHeaderHelpers.php
+++ b/src/Traits/Helpers/SecondaryHeaderHelpers.php
@@ -23,5 +23,4 @@ public function secondaryHeaderIsDisabled(): bool
{
return $this->getSecondaryHeaderStatus() === false;
}
-
}
diff --git a/src/Traits/Styling/Configuration/ActionsStylingConfiguration.php b/src/Traits/Styling/Configuration/ActionsStylingConfiguration.php
index 042e0c17b..51b3a3f99 100644
--- a/src/Traits/Styling/Configuration/ActionsStylingConfiguration.php
+++ b/src/Traits/Styling/Configuration/ActionsStylingConfiguration.php
@@ -10,4 +10,4 @@ public function setActionWrapperAttributes(array $actionWrapperAttributes): self
return $this;
}
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/Configuration/CollapsingColumnsStylingConfiguration.php b/src/Traits/Styling/Configuration/CollapsingColumnsStylingConfiguration.php
index d78a413ed..9ab487907 100644
--- a/src/Traits/Styling/Configuration/CollapsingColumnsStylingConfiguration.php
+++ b/src/Traits/Styling/Configuration/CollapsingColumnsStylingConfiguration.php
@@ -27,5 +27,4 @@ public function setCollapsingColumnButtonExpandAttributes(array $collapsingColum
return $this;
}
-
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/Configuration/FooterStylingConfiguration.php b/src/Traits/Styling/Configuration/FooterStylingConfiguration.php
index 640e8891c..cd1348520 100644
--- a/src/Traits/Styling/Configuration/FooterStylingConfiguration.php
+++ b/src/Traits/Styling/Configuration/FooterStylingConfiguration.php
@@ -19,5 +19,4 @@ public function setFooterTdAttributes(Closure $callback): self
return $this;
}
-
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/Configuration/PaginationStylingConfiguration.php b/src/Traits/Styling/Configuration/PaginationStylingConfiguration.php
index 73a25aa2e..20b3cb898 100644
--- a/src/Traits/Styling/Configuration/PaginationStylingConfiguration.php
+++ b/src/Traits/Styling/Configuration/PaginationStylingConfiguration.php
@@ -4,7 +4,6 @@
trait PaginationStylingConfiguration
{
-
public function setPerPageFieldAttributes(array $attributes = []): self
{
$this->perPageFieldAttributes = [...$this->perPageFieldAttributes, ...$attributes];
@@ -18,4 +17,4 @@ public function setPaginationWrapperAttributes(array $paginationWrapperAttribute
return $this;
}
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/Configuration/ReorderStylingConfiguration.php b/src/Traits/Styling/Configuration/ReorderStylingConfiguration.php
index a705eeb74..893d249b4 100644
--- a/src/Traits/Styling/Configuration/ReorderStylingConfiguration.php
+++ b/src/Traits/Styling/Configuration/ReorderStylingConfiguration.php
@@ -4,7 +4,6 @@
trait ReorderStylingConfiguration
{
-
/**
* Used to set attributes for the
for Reorder Column
*/
@@ -14,5 +13,4 @@ public function setReorderThAttributes(array $reorderThAttributes): self
return $this;
}
-
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/Configuration/SecondaryHeaderStylingConfiguration.php b/src/Traits/Styling/Configuration/SecondaryHeaderStylingConfiguration.php
index 0b0c3dde3..b01c1d008 100644
--- a/src/Traits/Styling/Configuration/SecondaryHeaderStylingConfiguration.php
+++ b/src/Traits/Styling/Configuration/SecondaryHeaderStylingConfiguration.php
@@ -19,4 +19,4 @@ public function setSecondaryHeaderTdAttributes(Closure $callback): self
return $this;
}
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/HasActionsStyling.php b/src/Traits/Styling/HasActionsStyling.php
index 57d6a691f..9e32c1dac 100644
--- a/src/Traits/Styling/HasActionsStyling.php
+++ b/src/Traits/Styling/HasActionsStyling.php
@@ -11,5 +11,4 @@ trait HasActionsStyling
ActionsStylingHelpers;
protected array $actionWrapperAttributes = ['class' => '', 'default-styling' => true, 'default-colors' => true];
-
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/HasCollapsingColumnsStyling.php b/src/Traits/Styling/HasCollapsingColumnsStyling.php
index 261ff3ddf..080130f78 100644
--- a/src/Traits/Styling/HasCollapsingColumnsStyling.php
+++ b/src/Traits/Styling/HasCollapsingColumnsStyling.php
@@ -8,10 +8,9 @@
trait HasCollapsingColumnsStyling
{
use CollapsingColumnsStylingConfiguration,
- CollapsingColumnsStylingHelpers;
-
+ CollapsingColumnsStylingHelpers;
+
protected array $collapsingColumnButtonCollapseAttributes = ['default-styling' => true, 'default-colors' => true];
protected array $collapsingColumnButtonExpandAttributes = ['default-styling' => true, 'default-colors' => true];
-
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/HasFooterStyling.php b/src/Traits/Styling/HasFooterStyling.php
index 9d829919c..1ef3dc394 100644
--- a/src/Traits/Styling/HasFooterStyling.php
+++ b/src/Traits/Styling/HasFooterStyling.php
@@ -14,5 +14,4 @@ trait HasFooterStyling
protected ?Closure $footerTrAttributesCallback;
protected ?Closure $footerTdAttributesCallback;
-
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/HasPaginationStyling.php b/src/Traits/Styling/HasPaginationStyling.php
index 5f6315065..907758656 100644
--- a/src/Traits/Styling/HasPaginationStyling.php
+++ b/src/Traits/Styling/HasPaginationStyling.php
@@ -13,4 +13,4 @@ trait HasPaginationStyling
protected array $perPageFieldAttributes = ['default-styling' => true, 'default-colors' => true, 'class' => ''];
protected array $paginationWrapperAttributes = ['class' => ''];
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/HasReorderStyling.php b/src/Traits/Styling/HasReorderStyling.php
index ad6f168a2..cc946cd61 100644
--- a/src/Traits/Styling/HasReorderStyling.php
+++ b/src/Traits/Styling/HasReorderStyling.php
@@ -11,5 +11,4 @@ trait HasReorderStyling
ReorderStylingHelpers;
protected array $reorderThAttributes = ['default' => true];
-
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/HasSecondaryHeaderStyling.php b/src/Traits/Styling/HasSecondaryHeaderStyling.php
index 06cc43c44..036084bbd 100644
--- a/src/Traits/Styling/HasSecondaryHeaderStyling.php
+++ b/src/Traits/Styling/HasSecondaryHeaderStyling.php
@@ -2,17 +2,16 @@
namespace Rappasoft\LaravelLivewireTables\Traits\Styling;
+use Closure;
use Rappasoft\LaravelLivewireTables\Traits\Styling\Configuration\SecondaryHeaderStylingConfiguration;
use Rappasoft\LaravelLivewireTables\Traits\Styling\Helpers\SecondaryHeaderStylingHelpers;
-use Closure;
trait HasSecondaryHeaderStyling
{
use SecondaryHeaderStylingConfiguration,
SecondaryHeaderStylingHelpers;
- protected ?Closure $secondaryHeaderTrAttributesCallback;
+ protected ?Closure $secondaryHeaderTrAttributesCallback;
- protected ?Closure $secondaryHeaderTdAttributesCallback;
-
-}
\ No newline at end of file
+ protected ?Closure $secondaryHeaderTdAttributesCallback;
+}
diff --git a/src/Traits/Styling/Helpers/ActionsStylingHelpers.php b/src/Traits/Styling/Helpers/ActionsStylingHelpers.php
index ddbe043b0..b2476f647 100644
--- a/src/Traits/Styling/Helpers/ActionsStylingHelpers.php
+++ b/src/Traits/Styling/Helpers/ActionsStylingHelpers.php
@@ -11,6 +11,4 @@ public function getActionWrapperAttributes(): array
{
return [...['class' => '', 'default-styling' => true, 'default-colors' => true], ...$this->actionWrapperAttributes];
}
-
-
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/Helpers/CollapsingColumnsStylingHelpers.php b/src/Traits/Styling/Helpers/CollapsingColumnsStylingHelpers.php
index 70e7a757d..416c79444 100644
--- a/src/Traits/Styling/Helpers/CollapsingColumnsStylingHelpers.php
+++ b/src/Traits/Styling/Helpers/CollapsingColumnsStylingHelpers.php
@@ -4,8 +4,8 @@
use Livewire\Attributes\Computed;
-trait CollapsingColumnsStylingHelpers {
-
+trait CollapsingColumnsStylingHelpers
+{
/**
* Retrieves attributes for the Collapsed Column Collapse Button
*
@@ -27,6 +27,4 @@ public function getCollapsingColumnButtonExpandAttributes(): array
{
return [...['default-styling' => true, 'default-colors' => true], ...$this->collapsingColumnButtonExpandAttributes];
}
-
-
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/Helpers/FooterStylingHelpers.php b/src/Traits/Styling/Helpers/FooterStylingHelpers.php
index fe8ba78fe..8fc76e056 100644
--- a/src/Traits/Styling/Helpers/FooterStylingHelpers.php
+++ b/src/Traits/Styling/Helpers/FooterStylingHelpers.php
@@ -23,5 +23,4 @@ public function getFooterTdAttributes(Column $column, $rows, int $index): array
{
return isset($this->footerTdAttributesCallback) ? call_user_func($this->footerTdAttributesCallback, $column, $rows, $index) : ['default' => true];
}
-
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/Helpers/PaginationStylingHelpers.php b/src/Traits/Styling/Helpers/PaginationStylingHelpers.php
index ee112d9ca..064db4cdf 100644
--- a/src/Traits/Styling/Helpers/PaginationStylingHelpers.php
+++ b/src/Traits/Styling/Helpers/PaginationStylingHelpers.php
@@ -23,5 +23,4 @@ public function getPaginationWrapperAttributesBag(): ComponentAttributeBag
{
return new ComponentAttributeBag($this->getPaginationWrapperAttributes());
}
-
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/Helpers/ReorderStylingHelpers.php b/src/Traits/Styling/Helpers/ReorderStylingHelpers.php
index d7d2592a4..2f6020d55 100644
--- a/src/Traits/Styling/Helpers/ReorderStylingHelpers.php
+++ b/src/Traits/Styling/Helpers/ReorderStylingHelpers.php
@@ -6,7 +6,6 @@
trait ReorderStylingHelpers
{
-
/**
* Used to get attributes for the | for Bulk Actions
*
@@ -23,5 +22,4 @@ public function hasReorderThAttributes(): bool
{
return $this->getReorderThAttributes() != ['default' => true];
}
-
-}
\ No newline at end of file
+}
diff --git a/src/Traits/Styling/Helpers/SecondaryHeaderStylingHelpers.php b/src/Traits/Styling/Helpers/SecondaryHeaderStylingHelpers.php
index 5ed24a6fd..785acc107 100644
--- a/src/Traits/Styling/Helpers/SecondaryHeaderStylingHelpers.php
+++ b/src/Traits/Styling/Helpers/SecondaryHeaderStylingHelpers.php
@@ -23,5 +23,4 @@ public function getSecondaryHeaderTdAttributes(Column $column, $rows, int $index
{
return isset($this->secondaryHeaderTdAttributesCallback) ? call_user_func($this->secondaryHeaderTdAttributesCallback, $column, $rows, $index) : ['default' => true];
}
-
-}
\ No newline at end of file
+}
diff --git a/src/Traits/WithActions.php b/src/Traits/WithActions.php
index 153581f19..d8bd5dea2 100644
--- a/src/Traits/WithActions.php
+++ b/src/Traits/WithActions.php
@@ -12,7 +12,7 @@ trait WithActions
use ActionsConfiguration,
ActionsHelpers,
HasActionsStyling;
-
+
protected bool $displayActionsInToolbar = false;
protected string $actionsPosition = 'right';
diff --git a/src/Traits/WithSecondaryHeader.php b/src/Traits/WithSecondaryHeader.php
index 1d4b40f16..11b08d51a 100644
--- a/src/Traits/WithSecondaryHeader.php
+++ b/src/Traits/WithSecondaryHeader.php
@@ -16,7 +16,6 @@ trait WithSecondaryHeader
protected bool $columnsWithSecondaryHeader = false;
-
public function bootedWithSecondaryHeader(): void
{
$this->setupSecondaryHeader();
|