From a8b7b00c092f65533f697ac80159bf353679c542 Mon Sep 17 00:00:00 2001 From: ignace nyamagana butera Date: Mon, 30 May 2016 10:34:18 +0200 Subject: [PATCH] parameters should be in snake case --- src/Modifier/QueryFilter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Modifier/QueryFilter.php b/src/Modifier/QueryFilter.php index 32ba957c..f98f6a72 100644 --- a/src/Modifier/QueryFilter.php +++ b/src/Modifier/QueryFilter.php @@ -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; } }