Completed
Push — master ( 3acd1f...43cbf0 )
by Maxim
05:10 queued 02:21
created
src/condition/ConditionMicroDbParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      *
13 13
      * @return \Closure|null
14 14
      */
15
-    public function filter(Condition $condition = null, int &$limit = null, int &$offset = null)
15
+    public function filter(Condition $condition = null, int & $limit = null, int & $offset = null)
16 16
     {
17 17
         $offset = (int)$offset;
18 18
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
             $limit = $condition->getLimit();
21 21
             $offset = (int)$condition->getOffset();
22 22
             $conditions = $condition->getConditions();
23
-            return function (array $item) use ($conditions) {
23
+            return function(array $item) use ($conditions) {
24 24
                 foreach ($conditions as $cond) {
25 25
                     if (!\is_array($cond)) {
26 26
                         continue;
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     {
103 103
         if ($condition) {
104 104
             $sort = $condition->getSort();
105
-            return function (array $item1, array $item2) use ($sort) {
105
+            return function(array $item1, array $item2) use ($sort) {
106 106
                 foreach ($sort as $field => $dir) {
107 107
                     $value1 = $item1[$field] ?? null;
108 108
                     $value2 = $item2[$field] ?? null;
Please login to merge, or discard this patch.