diff --git a/src/ORM/Association.php b/src/ORM/Association.php index 142ee2fd64d..8c4cad3d03e 100644 --- a/src/ORM/Association.php +++ b/src/ORM/Association.php @@ -542,7 +542,7 @@ protected function _formatAssociationResults($query, $surrogate, $options) { } $property = $options['propertyPath']; - $query->formatResults(function($results) use ($formatters, $property){ + $query->formatResults(function($results) use ($formatters, $property) { $extracted = $results->extract($property)->compile(); foreach ($formatters as $callable) { $extracted = new ResultSetDecorator($callable($extracted)); @@ -552,7 +552,6 @@ protected function _formatAssociationResults($query, $surrogate, $options) { } /** - * * Applies all attachable associations to `$query` out of the containments found * in the `$surrogate` query. *