phpcs - Fix error, "CONST keyword must be lowercase; expected const but found CONST"
[civicrm-core.git] / CRM / Utils / Mail / Incoming.php
index 0ae24697834c8a4148b2cbaf9e09b766586b17ad..26e3ce1cc5627729b189a5dbc701d929070e1099 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -33,7 +33,7 @@
  *
  */
 class CRM_Utils_Mail_Incoming {
-  CONST
+  const
     EMAILPROCESSOR_CREATE_INDIVIDUAL = 1,
     EMAILPROCESSOR_OVERRIDE = 2,
     EMAILPROCESSOR_IGNORE = 3;
@@ -370,7 +370,7 @@ class CRM_Utils_Mail_Incoming {
 
   /**
    * @param $address
-   * @param $params
+   * @param array $params
    * @param $subParam
    * @param $mail
    */
@@ -395,7 +395,7 @@ class CRM_Utils_Mail_Incoming {
   /**
    * @param $addresses
    * @param $token
-   * @param $params
+   * @param array $params
    * @param $mail
    */
   public static function parseAddresses(&$addresses, $token, &$params, &$mail) {
@@ -409,7 +409,7 @@ class CRM_Utils_Mail_Incoming {
   }
 
   /**
-   * retrieve a contact ID and if not present
+   * Retrieve a contact ID and if not present
    * create one with this email
    */
   public static function getContactID($email, $name = NULL, $create = TRUE, &$mail) {