Skip to content

Commit

Permalink
Merge branch 'main' of github.com:vormkracht10/filament-mails
Browse files Browse the repository at this point in the history
  • Loading branch information
Baspa committed Sep 6, 2024
2 parents aca2725 + b9c65d1 commit 833deb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Resources/EventResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public static function table(Table $table): Table
->label(__('Occurred At'))
->dateTime('d-m-Y H:i')
->since()
->tooltip(fn(MailEvent $record) => $record->occurred_at?->format('d-m-Y H:i'))
->tooltip(fn (MailEvent $record) => $record->occurred_at?->format('d-m-Y H:i'))

Check failure on line 182 in src/Resources/EventResource.php

View workflow job for this annotation

GitHub Actions / phpstan

Access to an undefined property Vormkracht10\Mails\Models\MailEvent::$occurred_at.
->sortable()
->searchable(),
])
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/MailResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public static function table(Table $table): Table
->label(__('Sent At'))
->dateTime('d-m-Y H:i')
->since()
->tooltip(fn(Mail $record) => $record->sent_at?->format('d-m-Y H:i'))
->tooltip(fn (Mail $record) => $record->sent_at?->format('d-m-Y H:i'))
->sortable()
->searchable(),
])
Expand Down

0 comments on commit 833deb3

Please sign in to comment.