Completed
Push — non_purge_indexer ( 720488...7d17c7 )
by André
14:47
created
eZ/Publish/Core/Repository/Tests/Service/Mock/RelationProcessorTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -525,6 +525,11 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,6 +113,9 @@  discard block
 block discarded – undo
113 113
         $output->writeln('Finished re-indexing');
114 114
     }
115 115
 
116
+    /**
117
+     * @param boolean $commit
118
+     */
116 119
     protected function indexIteratively(InputInterface $input, OutputInterface $output, $iterationCount, $commit)
117 120
     {
118 121
         if ($contentIds = $input->getOption('content-ids')) {
@@ -160,6 +163,10 @@  discard block
 block discarded – undo
160 163
     }
161 164
 
162 165
 
166
+    /**
167
+     * @param integer $processCount
168
+     * @param integer $iterationCount
169
+     */
163 170
     private function runParallelProcess(ProgressBar $progress, Statement $stmt, $processCount, $iterationCount, $commit)
164 171
     {
165 172
         /**
@@ -237,7 +244,7 @@  discard block
 block discarded – undo
237 244
      * @param \Doctrine\DBAL\Driver\Statement $stmt
238 245
      * @param int $iterationCount
239 246
      *
240
-     * @return int[][] Return an array of arrays, each array contains content id's of $iterationCount.
247
+     * @return \Generator Return an array of arrays, each array contains content id's of $iterationCount.
241 248
      */
242 249
     private function fetchIteration(Statement $stmt, $iterationCount)
243 250
     {
Please login to merge, or discard this patch.