mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix a few code standards errors.
This commit is contained in:
parent
ff35762e92
commit
a24aca6ffc
4 changed files with 4 additions and 5 deletions
|
@ -1168,7 +1168,7 @@ class DboSource extends DataSource {
|
||||||
* @return mixed
|
* @return mixed
|
||||||
* @throws CakeException when results cannot be created.
|
* @throws CakeException when results cannot be created.
|
||||||
*/
|
*/
|
||||||
public function queryAssociation(Model $model, &$linkModel, $type, $association, $assocData, &$queryData, $external = false, &$resultSet, $recursive, $stack) {
|
public function queryAssociation(Model $model, &$linkModel, $type, $association, $assocData, &$queryData, $external, &$resultSet, $recursive, $stack) {
|
||||||
if ($query = $this->generateAssociationQuery($model, $linkModel, $type, $association, $assocData, $queryData, $external, $resultSet)) {
|
if ($query = $this->generateAssociationQuery($model, $linkModel, $type, $association, $assocData, $queryData, $external, $resultSet)) {
|
||||||
if (!is_array($resultSet)) {
|
if (!is_array($resultSet)) {
|
||||||
throw new CakeException(__d('cake_dev', 'Error in Model %s', get_class($model)));
|
throw new CakeException(__d('cake_dev', 'Error in Model %s', get_class($model)));
|
||||||
|
@ -1453,7 +1453,7 @@ class DboSource extends DataSource {
|
||||||
* @param array $resultSet
|
* @param array $resultSet
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function generateAssociationQuery(Model $model, $linkModel, $type, $association = null, $assocData = array(), &$queryData, $external = false, &$resultSet) {
|
public function generateAssociationQuery(Model $model, $linkModel, $type, $association, $assocData, &$queryData, $external, &$resultSet) {
|
||||||
$queryData = $this->_scrubQueryData($queryData);
|
$queryData = $this->_scrubQueryData($queryData);
|
||||||
$assocData = $this->_scrubQueryData($assocData);
|
$assocData = $this->_scrubQueryData($assocData);
|
||||||
$modelAlias = $model->alias;
|
$modelAlias = $model->alias;
|
||||||
|
|
|
@ -496,7 +496,6 @@ class CakeEmail {
|
||||||
return $this->headerCharset = $charset;
|
return $this->headerCharset = $charset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set email
|
* Set email
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue