Skip to content

Commit 3de7e51

Browse files
GautierDeleStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 4ecc403 commit 3de7e51

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

tests/Feature/Controllers/HooksTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
use Lomkit\Rest\Tests\Support\Models\Model;
1212
use Lomkit\Rest\Tests\Support\Models\SoftDeletedModel;
1313
use Lomkit\Rest\Tests\Support\Policies\GreenPolicy;
14-
use Lomkit\Rest\Tests\Support\Rest\Resources\ModelResource;
15-
use Lomkit\Rest\Tests\Support\Rest\Resources\SoftDeletedModelResource;
1614

1715
class HooksTest extends TestCase
1816
{
@@ -119,7 +117,7 @@ public function test_destroy_hook(): void
119117

120118
Gate::policy(Model::class, GreenPolicy::class);
121119

122-
$this->delete(
120+
$this->delete(
123121
'/api/model-hooks',
124122
[
125123
'resources' => [$model->getKey()],
@@ -169,7 +167,7 @@ public function test_force_destroy_hook(): void
169167

170168
Gate::policy(SoftDeletedModel::class, GreenPolicy::class);
171169

172-
$this->delete(
170+
$this->delete(
173171
'/api/model-hooks/force',
174172
[
175173
'resources' => [$softDeletedModel->getKey()],

tests/Support/Rest/Resources/ModelWithHooksResource.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Lomkit\Rest\Relations\MorphOneOfMany;
1919
use Lomkit\Rest\Relations\MorphTo;
2020
use Lomkit\Rest\Relations\MorphToMany;
21-
use Lomkit\Rest\Tests\Support\Models\Model;
2221
use Lomkit\Rest\Tests\Support\Models\SoftDeletedModel;
2322
use Lomkit\Rest\Tests\Support\Rest\Actions\ModifyNumberAction;
2423

0 commit comments

Comments
 (0)