From 39dd269b79a1d307c9823d46704a9280e52f6e2c Mon Sep 17 00:00:00 2001 From: Sam Light Date: Thu, 10 Apr 2025 10:25:12 +0100 Subject: Fix bug with hanlding auth event --- src/AuthSubscriber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3