Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed type to parameters that is defined in the code.

  • Loading branch information...
commit ebb70c4810aff0f2bcca87aa3b9226e69d8e853c 1 parent 2a50a1e
@jrbasso jrbasso authored
View
2  lib/Cake/Controller/Scaffold.php
@@ -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
*/
View
2  lib/Cake/Error/ExceptionRenderer.php
@@ -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) {
View
3  lib/Cake/Model/Datasource/Database/Oracle.php
@@ -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).
*/
@@ -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).
@@ -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).
View
2  lib/Cake/Model/Datasource/Database/Sqlite.php
@@ -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
View
2  lib/Cake/Model/Datasource/DboSource.php
@@ -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
*/
View
2  lib/Cake/Network/Email/CakeEmail.php
@@ -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
*/
Please sign in to comment.
Something went wrong with that request. Please try again.