From fcc870726ceebc1fb382f5d83d321cdb9e8cf9bc Mon Sep 17 00:00:00 2001 From: Dries Date: Fri, 9 Dec 2011 10:32:50 -0500 Subject: - Patch #1345152 by Zgear, chris.leversuch: field_create_field() and related functions have incorrect exception throwing docs. --- modules/field/field.crud.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules') diff --git a/modules/field/field.crud.inc b/modules/field/field.crud.inc index e34c0c528..41980a87a 100644 --- a/modules/field/field.crud.inc +++ b/modules/field/field.crud.inc @@ -42,10 +42,11 @@ * system variable. * - settings: each omitted setting is given the default value specified in * hook_field_storage_info(). + * * @return * The $field array with the id property filled in. - * @throw - * FieldException + * + * @throws FieldException * * See: @link field Field API data structures @endlink. */ @@ -442,8 +443,8 @@ function field_delete_field($field_name) { * * @return * The $instance array with the id property filled in. - * @throw - * FieldException + * + * @throws FieldException * * See: @link field Field API data structures @endlink. */ @@ -510,8 +511,7 @@ function field_create_instance($instance) { * properties specified in $instance overwrite the existing values for * the instance. * - * @throw - * FieldException + * @throws FieldException * * @see field_create_instance() */ -- cgit v1.2.3