@@ -16,7 +16,6 @@ |
||
| 16 | 16 | { |
| 17 | 17 | /** |
| 18 | 18 | * Set extract limit |
| 19 | - |
|
| 20 | 19 | * @param int $limit |
| 21 | 20 | * |
| 22 | 21 | * @return $this |
@@ -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); |