INFRA-132 - Batch 14 (g)
[civicrm-core.git] / api / v3 / CustomField.php
index bee0711b8d673ee43c68a2337599ffe8905995fc..c207e48457294ccee2c3a8693fac264a0c113453 100644 (file)
@@ -134,13 +134,13 @@ function civicrm_api3_custom_field_get($params) {
  * @param array $errors
  *   Collect validation errors.
  *
- * @return array
+ * @return array|NULL
  *   Validation errors
  * @todo remove this function - not in use but need to review functionality before
  * removing as it might be useful in wrapper layer
  */
 function _civicrm_api3_custom_field_validate_field($fieldName, $value, $fieldDetails, &$errors = array()) {
-  return;
+  return NULL;
   //see comment block
   if (!$value) {
     return $errors;