Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix docblock

  • Loading branch information...
commit 4fe85fc3c513ec2ce5af0d41530d2ab7fc303179 1 parent 7ad11f5
@ADmad ADmad authored
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
3  lib/Cake/View/Helper.php
@@ -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.
View
3  lib/Cake/View/Helper/FormHelper.php
@@ -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
*
Please sign in to comment.
Something went wrong with that request. Please try again.