Skip to content

Commit

Permalink
parameters should be in snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed May 30, 2016
1 parent 86821ef commit a8b7b00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Modifier/QueryFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ protected function applyIteratorSortBy(Iterator $iterator)
$obj = new ArrayObject(iterator_to_array($iterator));
$obj->uasort(function ($row_a, $row_b) {
$res = 0;
foreach ($this->iterator_sort_by as $compareRows) {
if (0 !== ($res = call_user_func($compareRows, $row_a, $row_b))) {
foreach ($this->iterator_sort_by as $compare) {
if (0 !== ($res = call_user_func($compare, $row_a, $row_b))) {
break;
}
}
Expand Down

0 comments on commit a8b7b00

Please sign in to comment.