Skip to content

Commit 3f7898f

Browse files
authored
Change the type of LaravelLivewireTablesEvent::$user from Illuminate\Foundation\Auth\User to Illuminate\Contracts\Auth\Authenticatable (rappasoft#1963)
1 parent 1817b9f commit 3f7898f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Events/LaravelLivewireTablesEvent.php

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

33
namespace Rappasoft\LaravelLivewireTables\Events;
44

5-
use Illuminate\Foundation\Auth\User;
5+
use Illuminate\Contracts\Auth\Authenticatable;
66
use Illuminate\Foundation\Events\Dispatchable;
77
use Illuminate\Queue\SerializesModels;
88

@@ -16,7 +16,7 @@ class LaravelLivewireTablesEvent
1616

1717
public string|array|null $value;
1818

19-
public ?User $user;
19+
public ?Authenticatable $user;
2020

2121
public function setKeyForEvent(string $key): self
2222
{

0 commit comments

Comments
 (0)