Completed
Branch master (00be23)
by Fabrice
03:25
created
src/YaEtl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -288,7 +288,7 @@
 block discarded – undo
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'];
Please login to merge, or discard this patch.
src/Laravel/Loaders/DbLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.