Permalink
Browse files

Update return type for Model::saveField().

Fixes #5086
  • Loading branch information...
markstory committed Nov 6, 2014
1 parent d5d8b32 commit dac8b7b644f7a15cdfd521c6163f76d1adb5f1aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Model.php
View
@@ -1665,7 +1665,7 @@ public function field($name, $conditions = null, $order = null) {
* If a boolean, indicates whether or not to validate before saving.
* If an array, allows control of 'validate', 'callbacks' and 'counterCache' options.
* See Model::save() for details of each options.
* @return bool See Model::save()
* @return bool|array See Model::save() False on failure or an array of model data on success.
* @see Model::save()
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-savefield-string-fieldname-string-fieldvalue-validate-false
*/

0 comments on commit dac8b7b

Please sign in to comment.