Skip to content

Commit

Permalink
more CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Feb 9, 2014
1 parent 2f29ae6 commit 13e3708
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ORM/Association.php
Expand Up @@ -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));
Expand All @@ -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.
*
Expand Down

0 comments on commit 13e3708

Please sign in to comment.