Merge pull request #4923 from colemanw/invoice_id
[civicrm-core.git] / api / v3 / Location.php
index 45e81ccadfa4a4b84dccb56f448431554dcea902..40fbdb62633624938dd951221ad2140b048518e8 100644 (file)
@@ -1,16 +1,16 @@
 <?php
 
-require_once 'api/v3/utils.php';
-
 /**
  *  Functions to inform caller that Location is obsolete and Address, Phone, Email, Website should be used
+ * @param array $params
+ * @return array
  */
 function civicrm_api3_location_create($params) {
   return civicrm_api3_create_error("API (Location, Create) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
 }
 
 /**
- * @param $params
+ * @param array $params
  *
  * @return array
  */
@@ -19,11 +19,10 @@ function civicrm_api3_location_get($params) {
 }
 
 /**
- * @param $params
+ * @param array $params
  *
  * @return array
  */
 function civicrm_api3_location_delete($params) {
   return civicrm_api3_create_error("API (Location, Delete) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
 }
-