mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixed type to parameters that is defined in the code.
This commit is contained in:
parent
2a50a1ea99
commit
ebb70c4810
6 changed files with 5 additions and 8 deletions
|
@ -285,7 +285,7 @@ class Scaffold {
|
||||||
/**
|
/**
|
||||||
* Performs a delete on given scaffolded Model.
|
* 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
|
* @return mixed Success on delete, error if delete fails
|
||||||
* @throws MethodNotAllowedException, NotFoundException
|
* @throws MethodNotAllowedException, NotFoundException
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -170,7 +170,7 @@ class ExceptionRenderer {
|
||||||
/**
|
/**
|
||||||
* Generic handler for the internal framework errors CakePHP can generate.
|
* Generic handler for the internal framework errors CakePHP can generate.
|
||||||
*
|
*
|
||||||
* @param CakeExeption $error
|
* @param CakeException $error
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function _cakeError(CakeException $error) {
|
protected function _cakeError(CakeException $error) {
|
||||||
|
|
|
@ -749,7 +749,6 @@ class DboOracle extends DboSource {
|
||||||
/**
|
/**
|
||||||
* Begin a transaction
|
* Begin a transaction
|
||||||
*
|
*
|
||||||
* @param unknown_type $model
|
|
||||||
* @return boolean True on success, false on fail
|
* @return boolean True on success, false on fail
|
||||||
* (i.e. if the database/model does not support transactions).
|
* (i.e. if the database/model does not support transactions).
|
||||||
*/
|
*/
|
||||||
|
@ -761,7 +760,6 @@ class DboOracle extends DboSource {
|
||||||
/**
|
/**
|
||||||
* Rollback a transaction
|
* Rollback a transaction
|
||||||
*
|
*
|
||||||
* @param unknown_type $model
|
|
||||||
* @return boolean True on success, false on fail
|
* @return boolean True on success, false on fail
|
||||||
* (i.e. if the database/model does not support transactions,
|
* (i.e. if the database/model does not support transactions,
|
||||||
* or a transaction has not started).
|
* or a transaction has not started).
|
||||||
|
@ -773,7 +771,6 @@ class DboOracle extends DboSource {
|
||||||
/**
|
/**
|
||||||
* Commit a transaction
|
* Commit a transaction
|
||||||
*
|
*
|
||||||
* @param unknown_type $model
|
|
||||||
* @return boolean True on success, false on fail
|
* @return boolean True on success, false on fail
|
||||||
* (i.e. if the database/model does not support transactions,
|
* (i.e. if the database/model does not support transactions,
|
||||||
* or a transaction has not started).
|
* or a transaction has not started).
|
||||||
|
|
|
@ -522,7 +522,7 @@ class Sqlite extends DboSource {
|
||||||
/**
|
/**
|
||||||
* Generate a "drop table" statement for the given Schema object
|
* 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.
|
* @param string $table Optional. If specified only the table name given will be generated.
|
||||||
* Otherwise, all tables defined in the schema are generated.
|
* Otherwise, all tables defined in the schema are generated.
|
||||||
* @return string
|
* @return string
|
||||||
|
|
|
@ -1113,7 +1113,7 @@ class DboSource extends DataSource {
|
||||||
* Passes association results thru afterFind filters of corresponding model
|
* Passes association results thru afterFind filters of corresponding model
|
||||||
*
|
*
|
||||||
* @param array $results Reference of resultset to be filtered
|
* @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
|
* @param array $filtered List of classes already filtered, to be skipped
|
||||||
* @return array Array of results that have been filtered through $model->afterFind
|
* @return array Array of results that have been filtered through $model->afterFind
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1029,7 +1029,7 @@ class CakeEmail {
|
||||||
/**
|
/**
|
||||||
* Apply the config to an instance
|
* Apply the config to an instance
|
||||||
*
|
*
|
||||||
* @param object $obj CakeEmail
|
* @param CakeEmail $obj CakeEmail
|
||||||
* @param array $config
|
* @param array $config
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue