Fixed type to parameters that is defined in the code.

This commit is contained in:
Juan Basso 2011-07-31 18:03:28 -04:00
parent 2a50a1ea99
commit ebb70c4810
6 changed files with 5 additions and 8 deletions

View file

@ -285,7 +285,7 @@ class Scaffold {
/**
* Performs a delete on given scaffolded Model.
*
* @param CareRequest $request Request for scaffolding
* @param CakeRequest $request Request for scaffolding
* @return mixed Success on delete, error if delete fails
* @throws MethodNotAllowedException, NotFoundException
*/

View file

@ -170,7 +170,7 @@ class ExceptionRenderer {
/**
* Generic handler for the internal framework errors CakePHP can generate.
*
* @param CakeExeption $error
* @param CakeException $error
* @return void
*/
protected function _cakeError(CakeException $error) {

View file

@ -749,7 +749,6 @@ class DboOracle extends DboSource {
/**
* Begin a transaction
*
* @param unknown_type $model
* @return boolean True on success, false on fail
* (i.e. if the database/model does not support transactions).
*/
@ -761,7 +760,6 @@ class DboOracle extends DboSource {
/**
* Rollback a transaction
*
* @param unknown_type $model
* @return boolean True on success, false on fail
* (i.e. if the database/model does not support transactions,
* or a transaction has not started).
@ -773,7 +771,6 @@ class DboOracle extends DboSource {
/**
* Commit a transaction
*
* @param unknown_type $model
* @return boolean True on success, false on fail
* (i.e. if the database/model does not support transactions,
* or a transaction has not started).

View file

@ -522,7 +522,7 @@ class Sqlite extends DboSource {
/**
* Generate a "drop table" statement for the given Schema object
*
* @param object $schema An instance of a subclass of CakeSchema
* @param CakeSchema $schema An instance of a subclass of CakeSchema
* @param string $table Optional. If specified only the table name given will be generated.
* Otherwise, all tables defined in the schema are generated.
* @return string

View file

@ -1113,7 +1113,7 @@ class DboSource extends DataSource {
* Passes association results thru afterFind filters of corresponding model
*
* @param array $results Reference of resultset to be filtered
* @param object $model Instance of model to operate against
* @param Model $model Instance of model to operate against
* @param array $filtered List of classes already filtered, to be skipped
* @return array Array of results that have been filtered through $model->afterFind
*/

View file

@ -1029,7 +1029,7 @@ class CakeEmail {
/**
* Apply the config to an instance
*
* @param object $obj CakeEmail
* @param CakeEmail $obj CakeEmail
* @param array $config
* @return void
*/