From 6ced01727caafcbc44a8defc0ac6d16bf4f025d2 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Thu, 13 Jan 2022 21:30:50 +0000 Subject: [PATCH] Clean up description for alterDisplayName hook --- CRM/Utils/Hook.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index 641e28c4e2..a67f2a9efc 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -2361,12 +2361,12 @@ abstract class CRM_Utils_Hook { * Issue CRM-14276 * Add a hook for altering the display name * - * hook_civicrm_contact_get_displayname(&$display_name, $objContact) + * hook_civicrm_contact_get_displayname(&$display_name, $contactId, $dao) * * @param string $displayName * @param int $contactId - * @param object $dao - * The contact object. + * @param CRM_Core_DAO $dao + * A DAO object containing contact fields + primary email field as "email". * * @return mixed */ -- 2.25.1