Completed
Push — master ( 0f1131...6b0411 )
by Bas
05:36
created
src/Schema/Grammars/Grammar.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             $filter[] = ['doc.'.$attribute, '!=', 'null'];
36 36
         }
37 37
 
38
-        $qb = AQB::for('doc', $collection)
38
+        $qb = AQB::for ('doc', $collection)
39 39
             ->filter($filter)
40 40
             ->limit(1)
41 41
             ->return('true')
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             ['doc.'.$command->to],
66 66
         ];
67 67
 
68
-        $qb = AQB::for('doc', $collection)
68
+        $qb = AQB::for ('doc', $collection)
69 69
             ->filter($filter)
70 70
             ->update(
71 71
                 'doc',
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
                     $command->to => 'doc.'.$command->from,
75 75
                 ],
76 76
                 $collection)
77
-            ->options( ['keepNull' => true])
77
+            ->options(['keepNull' => true])
78 78
             ->get();
79 79
 
80 80
         $command->aqb = $qb;
@@ -101,8 +101,8 @@  discard block
 block discarded – undo
101 101
             $filter[] = ['doc.'.$attribute, '!=', 'null', 'OR'];
102 102
             $data[$attribute] = 'null';
103 103
         }
104
-        $qb = AQB::for('doc', $collection)
105
-            ->filter($filter )
104
+        $qb = AQB::for ('doc', $collection)
105
+            ->filter($filter)
106 106
             ->update('doc', $data, $collection)
107 107
             ->options(['keepNull' => false])
108 108
             ->get();
Please login to merge, or discard this patch.