Merge pull request #14402 from eileenmcnaughton/phpcs
[civicrm-core.git] / api / v3 / Contact.php
index 54ce858580f710a24838ed78d082315c34af2017..c493cad4c89d44fc1b0fc1374be5cc58d8da13b2 100644 (file)
@@ -524,7 +524,6 @@ function civicrm_api3_contact_delete($params) {
   }
 }
 
-
 /**
  * Check parameters passed in.
  *
@@ -549,12 +548,11 @@ function _civicrm_api3_contact_check_params(&$params) {
 
     case 'individual':
       civicrm_api3_verify_one_mandatory($params, NULL, [
-          'first_name',
-          'last_name',
-          'email',
-          'display_name',
-        ]
-      );
+        'first_name',
+        'last_name',
+        'email',
+        'display_name',
+      ]);
       break;
   }
 
@@ -1454,7 +1452,6 @@ WHERE     $whereClause
   return civicrm_api3_create_success($contacts, $params, 'Contact', 'get_by_location', $dao);
 }
 
-
 /**
  * Get parameters for getlist function.
  *