Make private function private
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 17 Feb 2023 21:56:35 +0000 (10:56 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 17 Feb 2023 21:56:35 +0000 (10:56 +1300)
CRM/Utils/Mail/Incoming.php

index d5911ac0156ed746ecd1dd966a92caf56d4d5a52..86b80dd7335a38f31a585b780eb44ecd84908a11 100644 (file)
@@ -400,7 +400,7 @@ class CRM_Utils_Mail_Incoming {
    * @param $mail
    * @param $createContact
    */
-  public static function parseAddress(&$address, &$params, &$subParam, &$mail, $createContact = TRUE) {
+  private static function parseAddress(&$address, &$params, &$subParam, &$mail, $createContact = TRUE) {
     // CRM-9484
     if (empty($address->email)) {
       return;