Permalink
Browse files

Fix docblock

  • Loading branch information...
1 parent 7ad11f5 commit 4fe85fc3c513ec2ce5af0d41530d2ab7fc303179 @ADmad ADmad committed Dec 19, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −2 lib/Cake/View/Helper.php
  2. +2 −1 lib/Cake/View/Helper/FormHelper.php
View
@@ -741,8 +741,7 @@ public function value($options = array(), $field = null, $key = 'value') {
/**
* 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.
@@ -2607,7 +2607,8 @@ protected function _generateOptions($name, $options = array()) {
}
/**
- * 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
*

0 comments on commit 4fe85fc

Please sign in to comment.