Skip to content

Commit

Permalink
Fix doc block param types.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Apr 8, 2016
1 parent 657b1a1 commit e84ff5e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions lib/Cake/Test/Case/Controller/Component/AuthComponentTest.php
Expand Up @@ -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) {
Expand All @@ -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();
Expand All @@ -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) {
Expand All @@ -118,6 +118,7 @@ public function setAuthorizeObject($index, $object) {
/**
* stop method
*
* @param int $status
* @return void
*/
protected function _stop($status = 0) {
Expand Down
Expand Up @@ -97,7 +97,7 @@ public function clearFieldMappings() {
/**
* describe method
*
* @param object $model
* @param Model $model
* @return void
*/
public function describe($model) {
Expand Down
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/Model/ModelWriteTest.php
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Utility/ObjectCollection.php
Expand Up @@ -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());

Expand Down

0 comments on commit e84ff5e

Please sign in to comment.