Skip to content

Commit

Permalink
Fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored Dec 31, 2024
1 parent d411152 commit 8489a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/Configuration/SortingConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

trait SortingConfiguration
{
protected function setupDefaultSorting()
protected function setupDefaultSorting(): void
{
if ($this->sortingIsEnabled() && $this->hasDefaultSort() && ! $this->hasSorts()) {
$this->setSort($this->getDefaultSortColumn(), $this->getDefaultSortDirection());

Check warning on line 10 in src/Traits/Configuration/SortingConfiguration.php

View check run for this annotation

Codecov / codecov/patch

src/Traits/Configuration/SortingConfiguration.php#L10

Added line #L10 was not covered by tests
Expand Down

0 comments on commit 8489a2d

Please sign in to comment.