Skip to content

Commit fe12171

Browse files
committed
Merge branch '3.x' of github.com:vormkracht10/filament-mails into 3.x
2 parents 3b3dc66 + 9974290 commit fe12171

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Resources/EventResource.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public static function infolist(Schema $schema): Schema
8383
TextEntry::make('type')
8484
->label(__('Type'))
8585
->badge()
86-
->color(fn(EventType $state): string => match ($state) {
86+
->color(fn (EventType $state): string => match ($state) {
8787
EventType::DELIVERED => 'success',
8888
EventType::CLICKED => 'clicked',
8989
EventType::OPENED => 'info',
@@ -131,7 +131,7 @@ public static function infolist(Schema $schema): Schema
131131
->default(__('Unknown'))
132132
->label(__('User Agent'))
133133
->limit(50)
134-
->tooltip(fn($state) => $state),
134+
->tooltip(fn ($state) => $state),
135135
]),
136136
]),
137137
Section::make(__('Location'))
@@ -160,7 +160,7 @@ public static function infolist(Schema $schema): Schema
160160
->default(__('Unknown'))
161161
->label(__('Link'))
162162
->limit(50)
163-
->url(fn($state) => $state)
163+
->url(fn ($state) => $state)
164164
->openUrlInNewTab(),
165165
TextEntry::make('tag')
166166
->default(__('Unknown'))
@@ -209,7 +209,7 @@ public static function table(Table $table): Table
209209
->label(__('Type'))
210210
->sortable()
211211
->badge()
212-
->color(fn(EventType $state): string => match ($state) {
212+
->color(fn (EventType $state): string => match ($state) {
213213
EventType::DELIVERED => 'success',
214214
EventType::CLICKED => 'clicked',
215215
EventType::OPENED => 'info',
@@ -230,7 +230,7 @@ public static function table(Table $table): Table
230230
->label(__('Occurred At'))
231231
->dateTime('d-m-Y H:i')
232232
->since()
233-
->tooltip(fn(MailEvent $record) => $record->occurred_at->format('d-m-Y H:i'))
233+
->tooltip(fn (MailEvent $record) => $record->occurred_at->format('d-m-Y H:i'))
234234
->sortable()
235235
->searchable(),
236236
])

0 commit comments

Comments
 (0)