From e84ff5e0d5680299dcbbb5073a8d088cb08a6baa Mon Sep 17 00:00:00 2001 From: mscherer Date: Fri, 8 Apr 2016 15:12:48 +0200 Subject: [PATCH] Fix doc block param types. --- .../Test/Case/Controller/Component/AuthComponentTest.php | 7 ++++--- .../Test/Case/Model/Datasource/Database/SqlserverTest.php | 2 +- lib/Cake/Test/Case/Model/ModelWriteTest.php | 4 ++-- lib/Cake/Utility/ObjectCollection.php | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/Cake/Test/Case/Controller/Component/AuthComponentTest.php b/lib/Cake/Test/Case/Controller/Component/AuthComponentTest.php index 3f28d9ce416..23e6aead361 100644 --- a/lib/Cake/Test/Case/Controller/Component/AuthComponentTest.php +++ b/lib/Cake/Test/Case/Controller/Component/AuthComponentTest.php @@ -86,7 +86,7 @@ class TestAuthComponent extends AuthComponent { * Helper method to add/set an authenticate object instance * * @param int $index The index at which to add/set the object - * @param object $object The object to add/set + * @param CakeObject $object The object to add/set * @return void */ public function setAuthenticateObject($index, $object) { @@ -97,7 +97,7 @@ public function setAuthenticateObject($index, $object) { * Helper method to get an authenticate object instance * * @param int $index The index at which to get the object - * @return object $object + * @return CakeObject $object */ public function getAuthenticateObject($index) { $this->constructAuthenticate(); @@ -108,7 +108,7 @@ public function getAuthenticateObject($index) { * Helper method to add/set an authorize object instance * * @param int $index The index at which to add/set the object - * @param object $object The object to add/set + * @param CakeObject $object The object to add/set * @return void */ public function setAuthorizeObject($index, $object) { @@ -118,6 +118,7 @@ public function setAuthorizeObject($index, $object) { /** * stop method * + * @param int $status * @return void */ protected function _stop($status = 0) { diff --git a/lib/Cake/Test/Case/Model/Datasource/Database/SqlserverTest.php b/lib/Cake/Test/Case/Model/Datasource/Database/SqlserverTest.php index eb63c259b44..6c03287a792 100644 --- a/lib/Cake/Test/Case/Model/Datasource/Database/SqlserverTest.php +++ b/lib/Cake/Test/Case/Model/Datasource/Database/SqlserverTest.php @@ -97,7 +97,7 @@ public function clearFieldMappings() { /** * describe method * - * @param object $model + * @param Model $model * @return void */ public function describe($model) { diff --git a/lib/Cake/Test/Case/Model/ModelWriteTest.php b/lib/Cake/Test/Case/Model/ModelWriteTest.php index 58d55094020..65221dd5733 100644 --- a/lib/Cake/Test/Case/Model/ModelWriteTest.php +++ b/lib/Cake/Test/Case/Model/ModelWriteTest.php @@ -41,7 +41,7 @@ class TestAuthor extends Author { /** * Helper method to set a datasource object * - * @param object $object The datasource object + * @param DataSource $object The datasource object * @return void */ public function setDataSourceObject($object) { @@ -81,7 +81,7 @@ class TestPost extends Post { /** * Helper method to set a datasource object * - * @param object $object The datasource object + * @param DataSource $object The datasource object * @return void */ public function setDataSourceObject($object) { diff --git a/lib/Cake/Utility/ObjectCollection.php b/lib/Cake/Utility/ObjectCollection.php index 89c7a30aef6..9d102e2386e 100644 --- a/lib/Cake/Utility/ObjectCollection.php +++ b/lib/Cake/Utility/ObjectCollection.php @@ -56,7 +56,7 @@ abstract class ObjectCollection { * * @param string $name Name of object to load. * @param array $options Array of configuration options for the object to be constructed. - * @return object the constructed object + * @return CakeObject the constructed object */ abstract public function load($name, $options = array());