more cleanup batch 16
[civicrm-core.git] / api / v3 / Country.php
index f7577e06953640b0f5ba9321be11e76cd0120c2a..647e8aa717001420c88b1da288b225f9b9923cbd 100644 (file)
@@ -46,9 +46,10 @@ require_once 'CRM/Core/DAO/Country.php';
  *
  * @example CountryCreate.php Standard Create Example
  *
- * @return array API result array
- * {@getfields country_create}
- * @access public
+ * @param array $params
+ * @return array
+ *   API result array
+ * @throws \API_Exception
  */
 function civicrm_api3_country_create($params) {
   return _civicrm_api3_basic_create(_civicrm_api3_get_DAO(__FUNCTION__), $params);
@@ -72,9 +73,9 @@ function _civicrm_api3_country_create_spec(&$params) {
  *
  * @example CountryDelete.php Standard Delete Example
  *
- * @return boolean | error  true if successfull, error otherwise
- * {@getfields country_delete}
- * @access public
+ * @return bool
+ *   | error  true if successfull, error otherwise
+ *   {@getfields country_delete}
  */
 function civicrm_api3_country_delete($params) {
   return _civicrm_api3_basic_delete(_civicrm_api3_get_DAO(__FUNCTION__), $params);
@@ -83,17 +84,14 @@ function civicrm_api3_country_delete($params) {
 /**
  * Retrieve one or more countrys
  *
- * @param array input parameters
- *
- *
  * @example CountryGet.php Standard Get Example
  *
  * @param array $params
  *   An associative array of name/value pairs.
  *
- * @return  array api result array
- * {@getfields country_get}
- * @access public
+ * @return array
+ *   api result array
+ *   {@getfields country_get}
  */
 function civicrm_api3_country_get($params) {