Skip to content

Commit 5ca197c

Browse files
kawaxgithub-actions[bot]
authored andcommitted
fix code style
1 parent a9a2238 commit 5ca197c

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

bootstrap/providers.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
use App\Providers\AppServiceProvider;
4+
35
return [
4-
App\Providers\AppServiceProvider::class,
6+
AppServiceProvider::class,
57
];

tests/Feature/LivewireTest.php

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

55
use App\Livewire\Sheets\Form;
66
use App\Livewire\Sheets\Posts;
7+
use Illuminate\Support\Collection;
78
use Livewire\Livewire;
89
use Revolution\Google\Sheets\Facades\Sheets;
910
use Tests\TestCase;
@@ -142,7 +143,7 @@ public function test_posts_component_calls_sheets_methods()
142143
$posts = $component->instance()->posts();
143144

144145
// Verify the returned data is correctly formatted (reversed and limited to 10)
145-
$this->assertInstanceOf(\Illuminate\Support\Collection::class, $posts);
146+
$this->assertInstanceOf(Collection::class, $posts);
146147
$this->assertCount(3, $posts);
147148

148149
// Should be in reverse order
@@ -227,7 +228,7 @@ public function test_posts_component_handles_empty_data()
227228
$component = Livewire::test(Posts::class);
228229
$posts = $component->instance()->posts();
229230

230-
$this->assertInstanceOf(\Illuminate\Support\Collection::class, $posts);
231+
$this->assertInstanceOf(Collection::class, $posts);
231232
$this->assertCount(0, $posts);
232233
}
233234
}

0 commit comments

Comments
 (0)