diff --git a/src/ORM/Query.php b/src/ORM/Query.php index 6c85c4015a1..67bf23dfe75 100644 --- a/src/ORM/Query.php +++ b/src/ORM/Query.php @@ -307,6 +307,8 @@ public function contain($associations = null, $override = false) * the query. * * @param \Cake\ORM\Table $table The table instance to pluck associations from. + * @param \Cake\Database\TypeMap $typeMap The typemap to check for columns in. + * This typemap is indirectly mutated via Cake\ORM\Query::addDefaultTypes() * @param array $associations The nested tree of associations to walk. * @return void */