diff --git a/GuardHelpers.php b/GuardHelpers.php index fb9267ca1..4d5328c6b 100644 --- a/GuardHelpers.php +++ b/GuardHelpers.php @@ -73,7 +73,7 @@ public function guest() /** * Get the ID for the currently authenticated user. * - * @return int|null + * @return int|string|null */ public function id() { diff --git a/SessionGuard.php b/SessionGuard.php index 8cc646ec6..109528b7e 100644 --- a/SessionGuard.php +++ b/SessionGuard.php @@ -199,7 +199,7 @@ protected function recaller() /** * Get the ID for the currently authenticated user. * - * @return int|null + * @return int|string|null */ public function id() {