mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updating doc block for Model::invalidate. Fixes #4583.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8274 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
6b0bbc44bb
commit
3f46bf9568
1 changed files with 2 additions and 2 deletions
|
@ -2488,8 +2488,8 @@ class Model extends Overloadable {
|
|||
* rule (in case of multiple validation for field) that was broken.
|
||||
*
|
||||
* @param string $field The name of the field to invalidate
|
||||
* @param mixed $value Name of validation rule that was not failed. If no validation key
|
||||
* is provided, defaults to true.
|
||||
* @param mixed $value Name of validation rule that was not failed, or validation message to
|
||||
* be returned. If no validation key is provided, defaults to true.
|
||||
* @access public
|
||||
*/
|
||||
function invalidate($field, $value = true) {
|
||||
|
|
Loading…
Reference in a new issue