From 4ea6c158d1519677d4af6f2cf2d7f766d8efe2f8 Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 16 Sep 2013 12:04:29 -0400 Subject: [PATCH] Fix wording and remove trailing spaces. --- lib/Cake/Model/Model.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Cake/Model/Model.php b/lib/Cake/Model/Model.php index 950eeaa7290..f414f2d65cf 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -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()) {