Browse Source

Fix docblock

ADmad 13 years ago
parent
commit
4fe85fc3c5
2 changed files with 3 additions and 3 deletions
  1. 1 2
      lib/Cake/View/Helper.php
  2. 2 1
      lib/Cake/View/Helper/FormHelper.php

+ 1 - 2
lib/Cake/View/Helper.php

@@ -741,8 +741,7 @@ class Helper extends Object {
 
 /**
  * Sets the defaults for an input tag.  Will set the
- * name, value, and id attributes for an array of html attributes. Will also
- * add a 'form-error' class if the field contains validation errors.
+ * name, value, and id attributes for an array of html attributes.
  *
  * @param string $field The field name to initialize.
  * @param array $options Array of options to use while initializing an input field.

+ 2 - 1
lib/Cake/View/Helper/FormHelper.php

@@ -2607,7 +2607,8 @@ class FormHelper extends AppHelper {
 	}
 
 /**
- * Sets field defaults and adds field to form security input hash
+ * Sets field defaults and adds field to form security input hash.
+ * Will also add a 'form-error' class if the field contains validation errors.
  *
  * ### Options
  *