mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Remove typehint on $LinkModel argument.
Adding a typehint here causes errors in a few userland plugins. We should honor the previous interface as best we can.
This commit is contained in:
parent
0d4a6e358e
commit
5a944734b8
1 changed files with 1 additions and 1 deletions
|
@ -1641,7 +1641,7 @@ class DboSource extends DataSource {
|
|||
* String representing a query.
|
||||
* True, when $external is false and association $type is 'hasOne' or 'belongsTo'.
|
||||
*/
|
||||
public function generateAssociationQuery(Model $Model, Model $LinkModel, $type, $association, $assocData, &$queryData, $external) {
|
||||
public function generateAssociationQuery(Model $Model, $LinkModel, $type, $association, $assocData, &$queryData, $external) {
|
||||
$assocData = $this->_scrubQueryData($assocData);
|
||||
|
||||
if ($external && !empty($assocData['finderQuery'])) {
|
||||
|
|
Loading…
Reference in a new issue