mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Remove the 'Line indented incorrectly' PHPCS error.
This commit is contained in:
parent
7f570f33e4
commit
cb42b056ac
1 changed files with 1 additions and 1 deletions
|
@ -1523,8 +1523,8 @@ class DboSource extends DataSource {
|
|||
if (empty($queryData['fields'])) {
|
||||
$queryData['fields'] = $this->fields($Model);
|
||||
|
||||
// hasMany relationships need the $Model primary key.
|
||||
} elseif (!empty($Model->hasMany) && $Model->recursive > -1) {
|
||||
// hasMany relationships need the $Model primary key.
|
||||
$assocFields = $this->fields($Model, null, "{$Model->alias}.{$Model->primaryKey}");
|
||||
$passedFields = $queryData['fields'];
|
||||
|
||||
|
|
Loading…
Reference in a new issue