| @@ -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); | 
| @@ -35,6 +35,7 @@ | ||
| 35 | 35 | * | 
| 36 | 36 | * @param JoinableInterface $joinFrom | 
| 37 | 37 | * return $this | 
| 38 | + * @return UniqueKeyExtractorAbstract | |
| 38 | 39 | */ | 
| 39 | 40 | public function setJoinFrom(JoinableInterface $joinFrom); | 
| 40 | 41 | |
| @@ -24,6 +24,7 @@ | ||
| 24 | 24 | * just like a left join would | 
| 25 | 25 | * | 
| 26 | 26 | * @throws \Exception | 
| 27 | + * @return void | |
| 27 | 28 | */ | 
| 28 | 29 | public function __construct($fromKeyAlias, $joinKeyAlias, callable $merger, $defaultRecord = null); | 
| 29 | 30 | |