@@ -67,7 +67,6 @@ |
||
| 67 | 67 | |
| 68 | 68 | /** |
| 69 | 69 | * @param \PDO $pdo |
| 70 | - * @param string $extractQuery |
|
| 71 | 70 | */ |
| 72 | 71 | public function configurePdo(\PDO $pdo) |
| 73 | 72 | { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | - * @param ExtractorAbstract $extractor |
|
| 89 | + * @param ExtractorInterface $extractor |
|
| 90 | 90 | * @param null|ExtractorInterface $aggregateWith Use the extractore instance you want to aggregate with |
| 91 | 91 | * |
| 92 | 92 | * @return $this |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | /** |
| 137 | - * @param Node $node |
|
| 137 | + * @param NodeInterface $node |
|
| 138 | 138 | * |
| 139 | 139 | * @throws Exception |
| 140 | 140 | */ |
@@ -147,8 +147,6 @@ discard block |
||
| 147 | 147 | * @param JoinableInterface $extractor |
| 148 | 148 | * @param JoinableInterface $joinFrom |
| 149 | 149 | * @param OnClauseInterface $onClause |
| 150 | - * @param callable $merger |
|
| 151 | - * @param bool $leftJoin |
|
| 152 | 150 | * |
| 153 | 151 | * @return $this |
| 154 | 152 | */ |
@@ -228,7 +226,6 @@ discard block |
||
| 228 | 226 | /** |
| 229 | 227 | * Triggered right after the flow stops |
| 230 | 228 | * |
| 231 | - * @param mixed $success |
|
| 232 | 229 | * |
| 233 | 230 | * @return $this |
| 234 | 231 | */ |
@@ -288,7 +288,7 @@ |
||
| 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']; |
@@ -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); |