INFRA-132 - Copyright header - Drupal.WhiteSpace.ScopeIndent.IncorrectExact
[civicrm-core.git] / CRM / SMS / Form / Group.php
index a919964f157646aeed0f4cf85086dbc842a17986..45064eac361110f8e9b361e5a97414adc99f76d3 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -192,7 +192,7 @@ class CRM_SMS_Form_Group extends CRM_Contact_Form_Task {
     foreach (array(
                'name',
                'group_id',
-               'is_sms'
+               'is_sms',
              ) as $n) {
       if (!empty($values[$n])) {
         $params[$n] = $values[$n];
@@ -253,7 +253,7 @@ class CRM_SMS_Form_Group extends CRM_Contact_Form_Task {
       // delete previous includes/excludes, if mailing already existed
       foreach (array(
                  'groups',
-                 'mailings'
+                 'mailings',
                ) as $entity) {
         $mg = new CRM_Mailing_DAO_MailingGroup();
         $mg->mailing_id = $ids['mailing_id'];
@@ -317,7 +317,6 @@ class CRM_SMS_Form_Group extends CRM_Contact_Form_Task {
    *
    * @return array
    *   list of errors to be posted back to the form
-   * @static
    */
   public static function formRule($fields) {
     $errors = array();
@@ -347,4 +346,5 @@ class CRM_SMS_Form_Group extends CRM_Contact_Form_Task {
 
     return empty($errors) ? TRUE : $errors;
   }
+
 }