We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ae5dc76 + 8bea84e commit ae427bcCopy full SHA for ae427bc
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