Skip to content

Commit 2ed46f7

Browse files
rappasoftactions-user
authored andcommitted
Fix styling
1 parent a178792 commit 2ed46f7

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

src/DataTableComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ abstract class DataTableComponent extends Component
8080
*/
8181
protected $queryString = [
8282
'filters' => ['except' => null],
83-
'sorts' => ['except' => null],
83+
'sorts' => ['except' => null],
8484
];
8585

8686
/**

src/Traits/WithCustomPagination.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ trait WithCustomPagination
1515
public function pageName(): string
1616
{
1717
if (property_exists($this, 'pageName')) {
18-
if (!isset($this->{$this->pageName})) {
18+
if (! isset($this->{$this->pageName})) {
1919
$this->{$this->pageName} = 1;
2020
}
2121

src/Traits/WithFilters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function cleanFilters(): void
3838
if (
3939
$filter->isSelect() &&
4040
$this->hasFilter($key) &&
41-
!in_array($this->getFilter($key), $this->getFilterOptions($key), true)
41+
! in_array($this->getFilter($key), $this->getFilterOptions($key), true)
4242
) {
4343
$this->removeFilter($key);
4444
}

src/Traits/WithSorting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ trait WithSorting
1414

1515
public function sortBy(string $field): ?string
1616
{
17-
if (!isset($this->sorts[$field])) {
17+
if (! isset($this->sorts[$field])) {
1818
return $this->sorts[$field] = 'asc';
1919
}
2020

src/Views/Column.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(string $column = null, string $text = null)
4848
$this->column = $column;
4949
$this->text = $text;
5050

51-
if (!$this->column && !$this->text) {
51+
if (! $this->column && ! $this->text) {
5252
$this->blank = true;
5353
}
5454
}

tests/TestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ public function getEnvironmentSetUp($app)
1818
{
1919
$app['config']->set('database.default', 'sqlite');
2020
$app['config']->set('database.connections.sqlite', [
21-
'driver' => 'sqlite',
21+
'driver' => 'sqlite',
2222
'database' => ':memory:',
23-
'prefix' => '',
23+
'prefix' => '',
2424
]);
2525
}
2626
}

0 commit comments

Comments
 (0)