Merge pull request #4923 from colemanw/invoice_id
[civicrm-core.git] / api / v3 / EntityTag.php
index 2914afefbe1887cb0e7c7cda39e3a9ef4a30ec07..249515640d38a8a1d3696d66dd2bb0c3a2a014e5 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
@@ -103,6 +102,7 @@ function civicrm_api3_entity_tag_delete($params) {
 
 /**
  * modify metadata
+ * @param array $params
  */
 function _civicrm_api3_entity_tag_delete_spec(&$params) {
   // set as not required as tag_id also acceptable & no either/or std yet
@@ -111,16 +111,15 @@ function _civicrm_api3_entity_tag_delete_spec(&$params) {
 
 /**
  *
- * @param <type> $params
+ * @param array $params
  * @param string $op
  *
  * @return array
  *   <type>
+ *   <type>
  */
 function _civicrm_api3_entity_tag_common($params, $op = 'add') {
 
   $entityIDs   = array();
-  $tagsIDs     = array();
   $entityTable = 'civicrm_contact';
   if (is_array($params)) {
     foreach ($params as $n => $v) {