Skip to content

Commit d411152

Browse files
lrljoegithub-actions[bot]
authored andcommitted
Fix styling
1 parent a2fc325 commit d411152

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

src/Commands/MakeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function getModelImport(): string
126126
if (isset($this->modelPath)) {
127127
$filename = rtrim($this->modelPath, '/').'/'.$this->model.'.php';
128128
if (File::exists($filename)) {
129-
//In case the file has more than one class which is highly unlikely but still possible
129+
// In case the file has more than one class which is highly unlikely but still possible
130130
$classes = array_filter($this->getClassesList($filename), function ($class) {
131131
return substr($class, strrpos($class, '\\') + 1) == $this->model;
132132
});

src/Traits/Configuration/SortingConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ protected function setupDefaultSorting()
1010
$this->setSort($this->getDefaultSortColumn(), $this->getDefaultSortDirection());
1111
}
1212
}
13-
13+
1414
public function setSortingStatus(bool $status): self
1515
{
1616
$this->sortingStatus = $status;

src/Traits/WithData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ trait WithData
2121
*/
2222
public function bootedWithData(): void
2323
{
24-
//Sets up the Builder Instance
24+
// Sets up the Builder Instance
2525
$this->setBuilder($this->builder());
2626
}
2727

src/Traits/WithReordering.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function enablePaginatedReordering(): void {}
5151

5252
public function enableReordering(): void
5353
{
54-
//$this->enablePaginatedReordering();
54+
// $this->enablePaginatedReordering();
5555

5656
$this->setReorderingSession();
5757
$this->setReorderingBackup();

src/Traits/WithSorting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function mountWithSorting(): void
3636
{
3737
$this->setupDefaultSorting();
3838
}
39-
39+
4040
public function sortBy(string $columnSelectName): ?string
4141
{
4242

src/Views/Traits/Filters/HasCustomPosition.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ public function hasFilterSlidedownColspan(): bool
6767

6868
public function setFilterSlidedownRow(string $filterSlidedownRow): self
6969
{
70-
//$this->filterSlidedownRow = (is_int($filterSlidedownRow) ? $filterSlidedownRow : intval($filterSlidedownRow));
70+
// $this->filterSlidedownRow = (is_int($filterSlidedownRow) ? $filterSlidedownRow : intval($filterSlidedownRow));
7171
$this->filterSlidedownRow = intval($filterSlidedownRow);
7272

7373
return $this;
7474
}
7575

7676
public function setFilterSlidedownColspan(string $filterSlidedownColspan): self
7777
{
78-
//$this->filterSlidedownColspan = (is_int($filterSlidedownColspan) ? $filterSlidedownColspan : intval($filterSlidedownColspan));
78+
// $this->filterSlidedownColspan = (is_int($filterSlidedownColspan) ? $filterSlidedownColspan : intval($filterSlidedownColspan));
7979
$this->filterSlidedownColspan = intval($filterSlidedownColspan);
8080

8181
return $this;

tests/Localisations/BaseLocalisationCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ public static function localisationProvider(): array
5757
'tw',
5858
'uk',
5959
];
60-
//return $availableLocales;
60+
// return $availableLocales;
6161

6262
foreach ($availableLocales as $availableLocale) {
63-
//$array = require($baseDir.$availableLocale.'/core.php');
63+
// $array = require($baseDir.$availableLocale.'/core.php');
6464
$localisations[] = [
6565
'locale' => $availableLocale,
6666
// 'localisationStrings' => $array,

tests/Unit/Traits/Helpers/ColumnHelpersTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public function test_can_get_visible_tablet_columns_count(): void
205205
$this->assertSame(7, $this->basicTable->getVisibleTabletColumnsCount());
206206
}
207207

208-
/// *** ** //
208+
// / *** ** //
209209

210210
public function test_can_tell_if_columns_should_collapse_always(): void
211211
{
@@ -299,7 +299,7 @@ public function test_can_check_if_column_has_secondary_header_filter(): void
299299
$this->assertTrue($column->hasSecondaryHeaderCallback());
300300

301301
$contents = $column->getSecondaryHeaderFilter($this->basicTable->getFilterByKey($column->getSecondaryHeaderCallback()), $this->basicTable->getFilterGenericData());
302-
//$contents = $column->getSecondaryHeaderFilter($this->basicTable->getFilterByKey('breed'));
302+
// $contents = $column->getSecondaryHeaderFilter($this->basicTable->getFilterByKey('breed'));
303303
$this->assertStringContainsString('id="table-filter-breed-8-header"', $contents);
304304
}
305305

tests/Unit/Traits/Helpers/ComponentHelpersTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public function test_can_get_hide_configurable_areas_when_reordering_status(): v
244244

245245
// Exists in DataTableComponentTest
246246
// public function test_can_get_dataTable_fingerprint(): void
247-
//{
247+
// {
248248
// $this->assertSame($this->defaultFingerPrintingAlgo($this->basicTable::class), $this->basicTable->getDataTableFingerprint());
249249
// }
250250

tests/Unit/Views/Columns/DateColumnTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Rappasoft\LaravelLivewireTables\Tests\Unit\Views\Columns;
44

5-
//use Illuminate\Support\Facades\Exceptions;
5+
// use Illuminate\Support\Facades\Exceptions;
66
use Rappasoft\LaravelLivewireTables\Tests\Models\Pet;
77
use Rappasoft\LaravelLivewireTables\Tests\TestCase;
88
use Rappasoft\LaravelLivewireTables\Views\Columns\DateColumn;

0 commit comments

Comments
 (0)