From 442f147b3842045e32f2018c46dbe679c35c4973 Mon Sep 17 00:00:00 2001
From: Lee Rowlands <lee.rowlands@previousnext.com.au>
Date: Fri, 2 Feb 2024 07:42:11 +1000
Subject: [PATCH] Issue #3412459 by viren18febS, mstrelan, smustgrave,
 longwave, larowlan: Incorrect typehint of LOGGED_IN and LOGGED_OUT consts in
 UserAuthenticationController

---
 .../user/src/Controller/UserAuthenticationController.php      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/modules/user/src/Controller/UserAuthenticationController.php b/core/modules/user/src/Controller/UserAuthenticationController.php
index 610df9f0af42..abab9a585661 100644
--- a/core/modules/user/src/Controller/UserAuthenticationController.php
+++ b/core/modules/user/src/Controller/UserAuthenticationController.php
@@ -29,14 +29,14 @@ class UserAuthenticationController extends ControllerBase implements ContainerIn
    *
    * @var string
    */
-  const LOGGED_IN = 1;
+  const LOGGED_IN = '1';
 
   /**
    * String sent in responses, to describe the user as being logged out.
    *
    * @var string
    */
-  const LOGGED_OUT = 0;
+  const LOGGED_OUT = '0';
 
   /**
    * The user flood control service.
-- 
GitLab