@@ -35,7 +35,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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(); |