@@ -91,7 +91,7 @@ |
||
91 | 91 | // btw, multi insert are not necessarily that faster in real world |
92 | 92 | // situation where there is a lot of updates and you need ot keep |
93 | 93 | // atomicity using transactions |
94 | - DB::transaction(function () use ($loadQuery, $whereClause, $param) { |
|
94 | + DB::transaction(function() use ($loadQuery, $whereClause, $param) { |
|
95 | 95 | if ($loadQuery->where($whereClause)->sharedLock()->exists()) { |
96 | 96 | $update = \array_diff_key($param, $whereClause); |
97 | 97 | $loadQuery->update($update); |