From 8bea84e578d657327f3a37f5da2b84c0c3b59a42 Mon Sep 17 00:00:00 2001 From: Milwad <98118400+milwad-dev@users.noreply.github.com> Date: Sat, 8 Mar 2025 10:18:13 +0330 Subject: [PATCH] Update UserUtils.php --- src/Utills/UserUtils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utills/UserUtils.php b/src/Utills/UserUtils.php index 058e4a9..57f5ea2 100644 --- a/src/Utills/UserUtils.php +++ b/src/Utills/UserUtils.php @@ -51,7 +51,7 @@ public static function getCurrentGuardName(): ?string /** * Get the user id by guards. */ - public static function getUserId(): ?int + public static function getUserId(): int|string|null { $guards = config('user-monitoring.user.guards', ['web']);