From d136fac219414b6f9bc3e64e7cde28c624b1fd1e Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 15 Apr 2012 20:33:43 -0400 Subject: [PATCH] Correct docs to match code. Fixes #2790 --- lib/Cake/Model/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Model/Model.php b/lib/Cake/Model/Model.php index 21b5bd0ce..bac6811a4 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -3362,7 +3362,7 @@ class Model extends Object implements CakeEventListener { * Sets the DataSource to which this model is bound. * * @param string $dataSource The name of the DataSource, as defined in app/Config/database.php - * @return boolean True on success + * @return void * @throws MissingConnectionException */ public function setDataSource($dataSource = null) {