@@ -288,7 +288,7 @@ |
||
288 | 288 | $stats = \array_replace($this->statsDefault, $stats); |
289 | 289 | |
290 | 290 | foreach ($this->nodes as $nodeIdx => $node) { |
291 | - $isJoining = ($node instanceof JoinableInterface) && $node->getOnClause(); |
|
291 | + $isJoining = ($node instanceof JoinableInterface) && $node->getOnClause(); |
|
292 | 292 | if ($isJoining) { |
293 | 293 | $this->nodeStats[$nodeIdx]['num_join'] = $node->getNumRecords(); |
294 | 294 | $stats['num_join'] += $this->nodeStats[$nodeIdx]['num_join']; |
@@ -89,7 +89,7 @@ |
||
89 | 89 | // btw, multi insert are not necessarily that faster in real world |
90 | 90 | // situation where there is a lot of updates and you need ot keep |
91 | 91 | // atomicity using transactions |
92 | - DB::transaction(function () use ($loadQuery, $whereClause, $record) { |
|
92 | + DB::transaction(function() use ($loadQuery, $whereClause, $record) { |
|
93 | 93 | if ($loadQuery->where($whereClause)->sharedLock()->exists()) { |
94 | 94 | $update = \array_diff_key($record, $whereClause); |
95 | 95 | $loadQuery->update($update); |