From 743598226b71d2ba9f561696b25a3ce3806d393a Mon Sep 17 00:00:00 2001 From: Rich Lott / Artful Robot Date: Thu, 7 Dec 2023 16:34:05 +0000 Subject: [PATCH] Fix docblock for loadUser - parameter is a string The dockblock says the user is an object, but it seems all implementations provide a string, some adding explicit declarations as a string. --- CRM/Utils/System/Base.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Utils/System/Base.php b/CRM/Utils/System/Base.php index 1be54baed2..8559f220b2 100644 --- a/CRM/Utils/System/Base.php +++ b/CRM/Utils/System/Base.php @@ -261,11 +261,11 @@ abstract class CRM_Utils_System_Base { /** * Load user into session. * - * @param obj $user + * @param string $username * * @return bool */ - public function loadUser($user) { + public function loadUser($username) { return TRUE; } -- 2.25.1