Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix wording and remove trailing spaces.
  • Loading branch information
markstory committed Sep 16, 2013
1 parent 9df3496 commit 4ea6c15
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Cake/Model/Model.php
Expand Up @@ -3143,12 +3143,11 @@ public function validates($options = array()) {

/**
* Returns an array of fields that have failed the validation of the current model.
*
*
* Additionally it populates the validationErrors property of the model with the same array.
*
* @param string $options An optional array of custom options to be made available in the beforeValidate callback
* @return array Array of invalid fields and its error messages
*
* @return array Array of invalid fields and their error messages
* @see Model::validates()
*/
public function invalidFields($options = array()) {
Expand Down

0 comments on commit 4ea6c15

Please sign in to comment.