Passed
Pull Request — master (#23)
by Fabrice
09:03 queued 05:58
created
src/Laravel/Loaders/DbLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
         // btw, multi insert are not necessarily that faster in real world
99 99
         // situation where there is a lot of updates and you need ot keep
100 100
         // atomicity using transactions
101
-        DB::transaction(function () use ($loadQuery, $whereClause, $param) {
101
+        DB::transaction(function() use ($loadQuery, $whereClause, $param) {
102 102
             if (!empty($whereClause) && $loadQuery->where($whereClause)->sharedLock()->exists()) {
103 103
                 $update = \array_diff_key($param, $whereClause);
104 104
                 $loadQuery->update($update);
Please login to merge, or discard this patch.