diff options
author | Sam Light <samlight1994@gmail.com> | 2025-04-10 10:25:12 +0100 |
---|---|---|
committer | Sam Light <samlight1994@gmail.com> | 2025-04-10 10:25:12 +0100 |
commit | 39dd269b79a1d307c9823d46704a9280e52f6e2c (patch) | |
tree | 24e42807d8669674e451fda9e1174f24a12f0043 /src | |
parent | 8a092185e9b3f10b30043dd968d457cca1c905fd (diff) |
Fix bug with hanlding auth eventv1.0.2
Diffstat (limited to 'src')
-rw-r--r-- | src/AuthSubscriber.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AuthSubscriber.php b/src/AuthSubscriber.php index 1827ae5..3a6601a 100644 --- a/src/AuthSubscriber.php +++ b/src/AuthSubscriber.php @@ -13,7 +13,7 @@ use Illuminate\Events\Dispatcher; class AuthSubscriber { - private function handleEvent(Status $status, mixed $event, iterable $props): void + private function handleEvent(Status $status, mixed $event, ?iterable $props = null): void { $log = new AuthLog([ 'status' => $status, |