@@ -218,6 +218,9 @@ discard block |
||
218 | 218 | } |
219 | 219 | } |
220 | 220 | |
221 | + /** |
|
222 | + * @param boolean $commit |
|
223 | + */ |
|
221 | 224 | protected function indexIncrementally(InputInterface $input, OutputInterface $output, $iterationCount, $commit) |
222 | 225 | { |
223 | 226 | if ($contentIds = $input->getOption('content-ids')) { |
@@ -285,6 +288,10 @@ discard block |
||
285 | 288 | $progress->finish(); |
286 | 289 | } |
287 | 290 | |
291 | + /** |
|
292 | + * @param integer $processCount |
|
293 | + * @param integer $iterationCount |
|
294 | + */ |
|
288 | 295 | private function runParallelProcess(ProgressBar $progress, Statement $stmt, $processCount, $iterationCount, $commit) |
289 | 296 | { |
290 | 297 | /** @var \Symfony\Component\Process\Process[]|null[] */ |
@@ -341,7 +348,7 @@ discard block |
||
341 | 348 | } |
342 | 349 | |
343 | 350 | /** |
344 | - * @param mixed $locationId |
|
351 | + * @param integer $locationId |
|
345 | 352 | * @param bool $count |
346 | 353 | * |
347 | 354 | * @return \Doctrine\DBAL\Driver\Statement |
@@ -34,6 +34,9 @@ |
||
34 | 34 | /** @var \Symfony\Component\Routing\RouterInterface */ |
35 | 35 | private $router; |
36 | 36 | |
37 | + /** |
|
38 | + * @param string $defaultSiteAccess |
|
39 | + */ |
|
37 | 40 | public function __construct(ConfigResolverInterface $configResolver, RouterInterface $router, $defaultSiteAccess, LoggerInterface $logger = null) |
38 | 41 | { |
39 | 42 | $this->configResolver = $configResolver; |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use eZ\Publish\Core\Event\Content\PublishVersionEvent; |
10 | 10 | use eZ\Publish\Core\Event\Content\RevealContentEvent; |
11 | 11 | use eZ\Publish\Core\Event\Content\UpdateContentMetadataEvent; |
12 | -use eZ\Publish\SPI\Persistence\Content\ContentInfo; |
|
13 | 12 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
14 | 13 | |
15 | 14 | class ContentEventSubscriber extends AbstractSearchEventSubscriber implements EventSubscriberInterface |
@@ -48,6 +48,9 @@ |
||
48 | 48 | return $column; |
49 | 49 | } |
50 | 50 | |
51 | + /** |
|
52 | + * @param integer|null $seed |
|
53 | + */ |
|
51 | 54 | abstract public function getRandomFunctionName(?int $seed): string; |
52 | 55 | |
53 | 56 | abstract public function getDriverName(): string; |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * @param mixed $innerService mock of the inner service used by the signal |
30 | 30 | * slot one used to test whether the original method is called is correctly |
31 | 31 | * called. |
32 | - * @param \eZ\Publish\Core\SignalSlot\SignalDispatcher $dispatcher mock of |
|
32 | + * @param \PHPUnit\Framework\MockObject\MockObject $dispatcher mock of |
|
33 | 33 | * the dispatcher used to test whether the emit method is correctly called |
34 | 34 | * |
35 | 35 | * @return object An instance of the SignalSlot service |
@@ -154,8 +154,8 @@ discard block |
||
154 | 154 | /** |
155 | 155 | * Creates a User object from $userId, $userRemoteId and $userVersionNo. |
156 | 156 | * |
157 | - * @param mixed $userId |
|
158 | - * @param mixed $userRemoteId |
|
157 | + * @param integer $userId |
|
158 | + * @param string $userRemoteId |
|
159 | 159 | * @param int $userVersionNo |
160 | 160 | * |
161 | 161 | * @return \eZ\Publish\Core\Repository\Values\User\User |
@@ -177,8 +177,8 @@ discard block |
||
177 | 177 | /** |
178 | 178 | * Returns a new UserGroup. |
179 | 179 | * |
180 | - * @param mixed $groupId |
|
181 | - * @param mixed $groupRemoteId |
|
180 | + * @param integer $groupId |
|
181 | + * @param string $groupRemoteId |
|
182 | 182 | * @param int $groupVersioNo |
183 | 183 | * |
184 | 184 | * @return \eZ\Publish\Core\Repository\Values\User\UserGroup |
@@ -336,7 +336,6 @@ |
||
336 | 336 | /** |
337 | 337 | * @param mixed $typeId |
338 | 338 | * @param int $status |
339 | - * @param \eZ\Publish\SPI\Persistence\Content\Type\UpdateStruct $contentType |
|
340 | 339 | * |
341 | 340 | * @return Type |
342 | 341 | */ |