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:
mark_story 2014-03-12 23:30:46 -04:00
parent 0d4a6e358e
commit 5a944734b8

View file

@ -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'])) {