Skip to content

Commit 445adda

Browse files
committed
formatting
1 parent 5fe2d9b commit 445adda

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/Http/Resources/PolicyResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function toArray(Request $request): array {
2020
if ($this->active_from !== null) {
2121
$activeFrom = Carbon::parse($this->active_from)->format('Y-m-d');
2222
}
23-
23+
2424
return [
2525
'metadata' => [
2626
'policy_id' => $this->id,

tests/Resources/PolicyResourceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Tests\Resources;
44

5-
use Tests\TestCase;
6-
use Illuminate\Foundation\Testing\RefreshDatabase;
75
use App\Http\Resources\PolicyResource;
86
use App\Policy;
7+
use Illuminate\Foundation\Testing\RefreshDatabase;
8+
use Tests\TestCase;
99

1010
class PolicyResourceTest extends TestCase {
1111
use RefreshDatabase;

0 commit comments

Comments
 (0)