Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Commit 2895757

Browse files
[auto commit] Linting
1 parent 7093f75 commit 2895757

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Synthesizers/EntryCollectionSynthesizer.php

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

33
namespace Jonassiewertsen\Livewire\Synthesizers;
44

5+
use Illuminate\Support\Carbon;
56
use Livewire\Mechanisms\HandleComponents\Synthesizers\Synth;
67
use Statamic\Entries\Entry;
78
use Statamic\Entries\EntryCollection as StatamicEntryCollection;
8-
use Illuminate\Support\Carbon;
99

1010
class EntryCollectionSynthesizer extends Synth
1111
{
@@ -47,10 +47,10 @@ public function hydrate($values)
4747
if ($value['date']) {
4848
$date = $value['date'];
4949

50-
if (!$date instanceof \Carbon\CarbonInterface) {
50+
if (! $date instanceof \Carbon\CarbonInterface) {
5151
$date = Carbon::parse($date);
5252
}
53-
53+
5454
$entry->date($date ?? null);
5555
}
5656

0 commit comments

Comments
 (0)