@@ -525,6 +525,11 @@ |
||
525 | 525 | $relationProcessor->processFieldRelations([], 24, 2, $contentTypeMock, $existingRelations); |
526 | 526 | } |
527 | 527 | |
528 | + /** |
|
529 | + * @param integer $id |
|
530 | + * @param null|integer $fieldDefinitionId |
|
531 | + * @param integer $contentId |
|
532 | + */ |
|
528 | 533 | protected function getStubbedRelation($id, $type, $fieldDefinitionId, $contentId) |
529 | 534 | { |
530 | 535 | return new \eZ\Publish\Core\Repository\Values\Content\Relation( |
@@ -114,6 +114,9 @@ discard block |
||
114 | 114 | $output->writeln('Finished re-indexing'); |
115 | 115 | } |
116 | 116 | |
117 | + /** |
|
118 | + * @param boolean $commit |
|
119 | + */ |
|
117 | 120 | protected function indexIteratively(InputInterface $input, OutputInterface $output, $iterationCount, $commit) |
118 | 121 | { |
119 | 122 | if ($contentIds = $input->getOption('content-ids')) { |
@@ -168,6 +171,10 @@ discard block |
||
168 | 171 | $progress->finish(); |
169 | 172 | } |
170 | 173 | |
174 | + /** |
|
175 | + * @param integer $processCount |
|
176 | + * @param integer $iterationCount |
|
177 | + */ |
|
171 | 178 | private function runParallelProcess(ProgressBar $progress, Statement $stmt, $processCount, $iterationCount, $commit) |
172 | 179 | { |
173 | 180 | /** |