diff --git a/src/ORM/EagerLoader.php b/src/ORM/EagerLoader.php index 67d267cc7a1..6cc4f5849bd 100644 --- a/src/ORM/EagerLoader.php +++ b/src/ORM/EagerLoader.php @@ -424,7 +424,8 @@ protected function _correctStrategy(&$config, $alias) { * Helper function used to compile a list of all associations that can be * joined in the query. * - * @param array $associations list of associations for $source + * @param array $associations list of associations from which to obtain joins + * @param array $matching list of associations that should be forcedly joined * @return array */ protected function _resolveJoins($associations, $matching = []) { @@ -496,7 +497,7 @@ public function loadExternal($query, $statement) { * - entityClass: The entity that should be used for hydrating the results * - nestKey: A dotted path that can be used to inserting the data in the correct nesting. * - * @param \Cake\ORM\Table $repository The table containing the association that + * @param \Cake\ORM\Table $table The table containing the association that * will be normalized * @return array */