mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix doc block param types.
This commit is contained in:
parent
657b1a1029
commit
e84ff5e0d5
4 changed files with 8 additions and 7 deletions
|
@ -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 @@ class TestAuthComponent extends AuthComponent {
|
|||
* 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 @@ class TestAuthComponent extends AuthComponent {
|
|||
* 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 @@ class TestAuthComponent extends AuthComponent {
|
|||
/**
|
||||
* stop method
|
||||
*
|
||||
* @param int $status
|
||||
* @return void
|
||||
*/
|
||||
protected function _stop($status = 0) {
|
||||
|
|
|
@ -97,7 +97,7 @@ class SqlserverTestDb extends Sqlserver {
|
|||
/**
|
||||
* describe method
|
||||
*
|
||||
* @param object $model
|
||||
* @param Model $model
|
||||
* @return void
|
||||
*/
|
||||
public function describe($model) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue