Make function private to reflect usage
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 5 Sep 2023 06:30:31 +0000 (18:30 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 5 Sep 2023 06:30:31 +0000 (18:30 +1200)
A universe search shows it is only called from this class

CRM/Utils/Mail/Incoming.php

index d3cf5bf0b886a5ab02f2b8310e68e7ec532d1224..1a268c6fea1a0f0cf7e8b1e65f7d17a72e7ad73f 100644 (file)
@@ -387,7 +387,7 @@ class CRM_Utils_Mail_Incoming {
    * @param $mail
    * @param $createContact
    */
-  public static function parseAddresses(&$addresses, $token, &$params, &$mail, $createContact = TRUE) {
+  private static function parseAddresses(&$addresses, $token, &$params, &$mail, $createContact = TRUE) {
     $params[$token] = [];
     foreach ($addresses as $address) {
       $subParam = [];