We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae5dc76 commit 8bea84eCopy full SHA for 8bea84e
src/Utills/UserUtils.php
@@ -51,7 +51,7 @@ public static function getCurrentGuardName(): ?string
51
/**
52
* Get the user id by guards.
53
*/
54
- public static function getUserId(): ?int
+ public static function getUserId(): int|string|null
55
{
56
$guards = config('user-monitoring.user.guards', ['web']);
57
0 commit comments