Skip to content

Commit 2d9f88b

Browse files
rappasoftactions-user
authored andcommitted
Fix styling
1 parent 633f5f1 commit 2d9f88b

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

tests/Http/Livewire/PetVeterinariesTable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use Illuminate\Database\Eloquent\Relations\Relation;
88
use Rappasoft\LaravelLivewireTables\DataTableComponent;
99
use Rappasoft\LaravelLivewireTables\Tests\Models\Pet;
10-
use Rappasoft\LaravelLivewireTables\Tests\Models\Species;
1110
use Rappasoft\LaravelLivewireTables\Views\Column;
1211

1312
class PetVeterinariesTable extends DataTableComponent
@@ -35,7 +34,8 @@ public function columns(): array
3534
];
3635
}
3736

38-
public function count(): int{
37+
public function count(): int
38+
{
3939
return $this->selectedRowsQuery()->count();
4040
}
4141
}

tests/Models/Pet.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ public function breed()
6666
return $this->belongsTo(Breed::class);
6767
}
6868

69-
public function veterinaries(): BelongsToMany{
69+
public function veterinaries(): BelongsToMany
70+
{
7071
return $this->belongsToMany(Veterinary::class);
7172
}
7273
}

tests/Models/Veterinary.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
namespace Rappasoft\LaravelLivewireTables\Tests\Models;
55

6-
76
use Illuminate\Database\Eloquent\Model;
87
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
98

@@ -39,7 +38,8 @@ class Veterinary extends Model
3938
'phone',
4039
];
4140

42-
public function pets(): BelongsToMany{
41+
public function pets(): BelongsToMany
42+
{
4343
return $this->belongsToMany(Pet::class);
4444
}
4545
}

tests/RelationshipDataTableComponentTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ public function search_filter_callback(): void
101101
}
102102

103103
/** @test */
104-
public function bulk_actions(){
104+
public function bulk_actions()
105+
{
105106
$this->table->selected[] = 1;
106107
$this->assertEquals(1, $this->table->count());
107108
}

tests/TestCase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use Rappasoft\LaravelLivewireTables\Tests\Models\Pet;
1010
use Rappasoft\LaravelLivewireTables\Tests\Models\Species;
1111
use Rappasoft\LaravelLivewireTables\Tests\Models\Veterinary;
12-
use Symfony\Component\Console\Helper\Table;
1312

1413
class TestCase extends Orchestra
1514
{

0 commit comments

Comments
 (0)