From ce5b5b9f147589ff5695e00882e3d7f5f8672b05 Mon Sep 17 00:00:00 2001 From: wjonkerhulst <54948500+wjonkerhulst@users.noreply.github.com> Date: Tue, 10 Mar 2020 14:45:36 +0100 Subject: [PATCH] [7.x] PHPDoc fix for Auth methods (#31884) * Update GuardHelpers.php * Update SessionGuard.php * Update Auth.php --- GuardHelpers.php | 2 +- SessionGuard.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() {