Skip to content

Commit

Permalink
Change the type of LaravelLivewireTablesEvent::$user from Illuminate\…
Browse files Browse the repository at this point in the history
…Foundation\Auth\User to Illuminate\Contracts\Auth\Authenticatable (#1963)
  • Loading branch information
khwadj authored Sep 24, 2024
1 parent 1817b9f commit 3f7898f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Events/LaravelLivewireTablesEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Rappasoft\LaravelLivewireTables\Events;

use Illuminate\Foundation\Auth\User;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

Expand All @@ -16,7 +16,7 @@ class LaravelLivewireTablesEvent

public string|array|null $value;

public ?User $user;
public ?Authenticatable $user;

public function setKeyForEvent(string $key): self
{
Expand Down

0 comments on commit 3f7898f

Please sign in to comment.