| @@ -98,7 +98,7 @@ | ||
| 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); | 
| @@ -15,7 +15,7 @@ | ||
| 15 | 15 |  { | 
| 16 | 16 | public function getConvertClosure(?string $from = null, string $to = Strings::ENCODING): \Closure | 
| 17 | 17 |      { | 
| 18 | -        return function ($value) use ($from, $to) { | |
| 18 | +        return function($value) use ($from, $to) { | |
| 19 | 19 | return is_string($value) ? Strings::convert($value, $from, $to) : $value; | 
| 20 | 20 | }; | 
| 21 | 21 | } |