Completed
Push — master ( 9ba778...870b98 )
by Mauro
01:54
created
src/QueryBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -295,12 +295,12 @@
 block discarded – undo
295 295
 
296 296
         foreach ($this->criteria as $criterion) {
297 297
             $results = array_filter(
298
-                (isset($results)) ? $results : $array, function ($element) use ($criterion) {
298
+                (isset($results)) ? $results : $array, function($element) use ($criterion) {
299 299
                     return CriterionFilter::filter($criterion, $element);
300 300
                 }
301 301
             );
302 302
 
303
-            $results = array_map(function ($result) use ($criterion) {
303
+            $results = array_map(function($result) use ($criterion) {
304 304
                 $key = explode(Constants::ALIAS_DELIMITER, $criterion['key']);
305 305
                 if (count($key) > 1) {
306 306
                     $oldkey = explode(Constants::ARRAY_SEPARATOR, $key[0]);
Please login to merge, or discard this patch.
src/Filters/AbstractFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     private static function getValueFromKeysArray($keysArray, $arrayElement)
58 58
     {
59
-        if (count($keysArray)>1) {
59
+        if (count($keysArray) > 1) {
60 60
             $key = array_shift($keysArray);
61 61
 
62 62
             return self::getValueFromKeysArray($keysArray, ArrayConverter::convertToPlainArray($arrayElement[$key]));
Please login to merge, or discard this patch.