fix some spelling:
[civicrm-core.git] / api / v3 / Location.php
index 739eaa3b89abb365bb4d00b852d90b305b5089a4..824f708c3db37b853e8b2fbf35b6234a39d30c5d 100644 (file)
@@ -1,19 +1,28 @@
 <?php
 
-require_once 'api/v3/utils.php';
-
 /**
  *  Functions to inform caller that Location is obsolete and Address, Phone, Email, Website should be used
+ * @param $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));
+  return civicrm_api3_create_error("API (Location, Create) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
 }
 
+/**
+ * @param array $params
+ *
+ * @return array
+ */
 function civicrm_api3_location_get($params) {
-  return civicrm_api3_create_error("API (Location,Get) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
+  return civicrm_api3_create_error("API (Location, Get) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
 }
 
+/**
+ * @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));
+  return civicrm_api3_create_error("API (Location, Delete) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
 }
-