Skip to content

Commit

Permalink
Fixed type to parameters that is defined in the code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbasso committed Jul 31, 2011
1 parent 2a50a1e commit ebb70c4
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/Cake/Controller/Scaffold.php
Expand Up @@ -285,7 +285,7 @@ protected function _scaffoldSave(CakeRequest $request, $action = 'edit') {
/**
* 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
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Error/ExceptionRenderer.php
Expand Up @@ -170,7 +170,7 @@ public function render() {
/**
* Generic handler for the internal framework errors CakePHP can generate.
*
* @param CakeExeption $error
* @param CakeException $error
* @return void
*/
protected function _cakeError(CakeException $error) {
Expand Down
3 changes: 0 additions & 3 deletions lib/Cake/Model/Datasource/Database/Oracle.php
Expand Up @@ -749,7 +749,6 @@ public function name($name) {
/**
* 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).
*/
Expand All @@ -761,7 +760,6 @@ public function begin() {
/**
* 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).
Expand All @@ -773,7 +771,6 @@ public function rollback() {
/**
* 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).
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Model/Datasource/Database/Sqlite.php
Expand Up @@ -522,7 +522,7 @@ public function hasResult() {
/**
* 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
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Model/Datasource/DboSource.php
Expand Up @@ -1113,7 +1113,7 @@ public function read(Model $model, $queryData = array(), $recursive = null) {
* 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
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Network/Email/CakeEmail.php
Expand Up @@ -1029,7 +1029,7 @@ public static function deliver($to = null, $subject = null, $message = null, $tr
/**
* Apply the config to an instance
*
* @param object $obj CakeEmail
* @param CakeEmail $obj CakeEmail
* @param array $config
* @return void
*/
Expand Down

0 comments on commit ebb70c4

Please sign in to comment.