@@ -161,6 +161,9 @@ discard block |
||
161 | 161 | } |
162 | 162 | } |
163 | 163 | |
164 | + /** |
|
165 | + * @param boolean $commit |
|
166 | + */ |
|
164 | 167 | protected function indexIncrementally(InputInterface $input, OutputInterface $output, $iterationCount, $commit) |
165 | 168 | { |
166 | 169 | if ($contentIds = $input->getOption('content-ids')) { |
@@ -223,6 +226,10 @@ discard block |
||
223 | 226 | $progress->finish(); |
224 | 227 | } |
225 | 228 | |
229 | + /** |
|
230 | + * @param integer $processCount |
|
231 | + * @param integer $iterationCount |
|
232 | + */ |
|
226 | 233 | private function runParallelProcess(ProgressBar $progress, Statement $stmt, $processCount, $iterationCount, $commit) |
227 | 234 | { |
228 | 235 | /** |
@@ -277,7 +284,7 @@ discard block |
||
277 | 284 | } |
278 | 285 | |
279 | 286 | /** |
280 | - * @param mixed $locationId |
|
287 | + * @param integer $locationId |
|
281 | 288 | * @param bool $count |
282 | 289 | * |
283 | 290 | * @return \Doctrine\DBAL\Driver\Statement |
@@ -90,7 +90,7 @@ |
||
90 | 90 | /** |
91 | 91 | * @dataProvider indexingProvider |
92 | 92 | * |
93 | - * @param array|null $value |
|
93 | + * @param array|null $values |
|
94 | 94 | * @param \Psr\Log\LoggerInterface|\PHPUnit_Framework_MockObject_MockObject|null $logger |
95 | 95 | */ |
96 | 96 | public function testIndexing(array $values = null, $logger = null) |
@@ -62,7 +62,7 @@ |
||
62 | 62 | * @dataProvider processPurgeClientProvider |
63 | 63 | * |
64 | 64 | * @param string $paramValue |
65 | - * @param string $expectedServiceAlias |
|
65 | + * @param string $expectedServiceId |
|
66 | 66 | * @param \Symfony\Component\DependencyInjection\Definition|null $customService |
67 | 67 | */ |
68 | 68 | public function testProcessPurgeClient($paramValue, $expectedServiceId, Definition $customService = null) |
@@ -10,7 +10,6 @@ |
||
10 | 10 | |
11 | 11 | use eZ\Publish\API\Repository\Repository; |
12 | 12 | use eZ\Publish\API\Repository\URLAliasService; |
13 | -use eZ\Publish\API\Repository\Values\User\User; |
|
14 | 13 | use eZ\Publish\API\Repository\Values\Content\Location; |
15 | 14 | use eZ\Publish\API\Repository\Values\Content\Query; |
16 | 15 | use eZ\Publish\API\Repository\Values\Content\Query\Criterion; |