mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Correcting type and expanding documentation for Model::invalidate(). Closes #5481
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7667 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
e6b994bcb1
commit
1a0d87ba83
1 changed files with 2 additions and 1 deletions
|
@ -2309,7 +2309,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 string $value Name of validation rule that was not met
|
||||
* @param mixed $value Name of validation rule that was not failed. If no validation key
|
||||
* is provided, defaults to true.
|
||||
* @access public
|
||||
*/
|
||||
function invalidate($field, $value = true) {
|
||||
|
|
Loading…
Reference in a new issue