Skip to content

Commit 1b52a87

Browse files
CS fixes
1 parent 5ad34f3 commit 1b52a87

File tree

5 files changed

+5
-19
lines changed

5 files changed

+5
-19
lines changed

tests/Bus/BusPendingBatchTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ public function test_batch_is_deleted_from_storage_if_exception_thrown_during_ba
6565

6666
$container = new Container;
6767

68-
$job = new class
69-
{
70-
};
68+
$job = new class {};
7169

7270
$pendingBatch = new PendingBatch($container, new Collection([$job]));
7371

tests/Pagination/CursorPaginatorLoadMorphCountTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ public function testCollectionLoadMorphCountCanChainOnThePaginator()
1919
$items = m::mock(Collection::class);
2020
$items->shouldReceive('loadMorphCount')->once()->with('parentable', $relations);
2121

22-
$p = (new class extends AbstractCursorPaginator
23-
{
24-
//
25-
})->setCollection($items);
22+
$p = (new class extends AbstractCursorPaginator {})->setCollection($items);
2623

2724
$this->assertSame($p, $p->loadMorphCount('parentable', $relations));
2825
}

tests/Pagination/CursorPaginatorLoadMorphTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ public function testCollectionLoadMorphCanChainOnThePaginator()
1919
$items = m::mock(Collection::class);
2020
$items->shouldReceive('loadMorph')->once()->with('parentable', $relations);
2121

22-
$p = (new class extends AbstractCursorPaginator
23-
{
24-
//
25-
})->setCollection($items);
22+
$p = (new class extends AbstractCursorPaginator {})->setCollection($items);
2623

2724
$this->assertSame($p, $p->loadMorph('parentable', $relations));
2825
}

tests/Pagination/PaginatorLoadMorphCountTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ public function testCollectionLoadMorphCountCanChainOnThePaginator()
1919
$items = m::mock(Collection::class);
2020
$items->shouldReceive('loadMorphCount')->once()->with('parentable', $relations);
2121

22-
$p = (new class extends AbstractPaginator
23-
{
24-
//
25-
})->setCollection($items);
22+
$p = (new class extends AbstractPaginator {})->setCollection($items);
2623

2724
$this->assertSame($p, $p->loadMorphCount('parentable', $relations));
2825
}

tests/Pagination/PaginatorLoadMorphTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ public function testCollectionLoadMorphCanChainOnThePaginator()
1919
$items = m::mock(Collection::class);
2020
$items->shouldReceive('loadMorph')->once()->with('parentable', $relations);
2121

22-
$p = (new class extends AbstractPaginator
23-
{
24-
//
25-
})->setCollection($items);
22+
$p = (new class extends AbstractPaginator {})->setCollection($items);
2623

2724
$this->assertSame($p, $p->loadMorph('parentable', $relations));
2825
}

0 commit comments

Comments
 (0)