@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException |
310 | 310 | * @throws \eZ\Publish\API\Repository\Exceptions\ForbiddenException |
311 | 311 | * |
312 | - * @param mixed $locationId |
|
312 | + * @param integer $locationId |
|
313 | 313 | * @param string $path |
314 | 314 | * @param bool $forwarding |
315 | 315 | * @param string $languageCode |
@@ -466,7 +466,7 @@ discard block |
||
466 | 466 | * @param string $text |
467 | 467 | * @param string $textMD5 |
468 | 468 | * |
469 | - * @return mixed |
|
469 | + * @return integer |
|
470 | 470 | */ |
471 | 471 | protected function insertNopEntry($parentId, $text, $textMD5) |
472 | 472 | { |
@@ -486,7 +486,7 @@ discard block |
||
486 | 486 | * |
487 | 487 | * @throws \eZ\Publish\API\Repository\Exceptions\BadStateException |
488 | 488 | * |
489 | - * @param mixed $locationId |
|
489 | + * @param integer $locationId |
|
490 | 490 | * @param bool $custom if true the user generated aliases are listed otherwise the autogenerated |
491 | 491 | * |
492 | 492 | * @return \eZ\Publish\SPI\Persistence\Content\UrlAlias[] |
@@ -622,9 +622,9 @@ discard block |
||
622 | 622 | * |
623 | 623 | * This method triggers the change of the autogenerated aliases. |
624 | 624 | * |
625 | - * @param mixed $locationId |
|
626 | - * @param mixed $oldParentId |
|
627 | - * @param mixed $newParentId |
|
625 | + * @param integer $locationId |
|
626 | + * @param integer $oldParentId |
|
627 | + * @param integer $newParentId |
|
628 | 628 | */ |
629 | 629 | public function locationMoved($locationId, $oldParentId, $newParentId) |
630 | 630 | { |
@@ -652,9 +652,9 @@ discard block |
||
652 | 652 | * |
653 | 653 | * This method triggers the creation of the autogenerated aliases for the copied locations |
654 | 654 | * |
655 | - * @param mixed $locationId |
|
656 | - * @param mixed $newLocationId |
|
657 | - * @param mixed $newParentId |
|
655 | + * @param integer $locationId |
|
656 | + * @param integer $newLocationId |
|
657 | + * @param integer $newParentId |
|
658 | 658 | */ |
659 | 659 | public function locationCopied($locationId, $newLocationId, $newParentId) |
660 | 660 | { |
@@ -56,7 +56,7 @@ |
||
56 | 56 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException |
57 | 57 | * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException |
58 | 58 | * |
59 | - * @param mixed $contentId |
|
59 | + * @param integer $contentId |
|
60 | 60 | * |
61 | 61 | * @return \eZ\Publish\API\Repository\Values\Content\Location|null |
62 | 62 | */ |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | * @param string $operator |
193 | 193 | * @param string $value |
194 | 194 | * |
195 | - * @return callback |
|
195 | + * @return \Closure |
|
196 | 196 | */ |
197 | 197 | protected function getTransposeClosure($operator, $value) |
198 | 198 | { |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | * |
213 | 213 | * @param string $char |
214 | 214 | * |
215 | - * @return callback |
|
215 | + * @return \Closure |
|
216 | 216 | */ |
217 | 217 | protected function compileTargetCharacter($char) |
218 | 218 | { |
@@ -276,6 +276,7 @@ discard block |
||
276 | 276 | * Converts a hexadecimal string to a decimal number. |
277 | 277 | * |
278 | 278 | * In comparison to standard hexdec function it will ignore any non-hexadecimal characters |
279 | + * @param string $value |
|
279 | 280 | */ |
280 | 281 | private function hexdec(?string $value): int |
281 | 282 | { |
@@ -203,6 +203,9 @@ |
||
203 | 203 | return __DIR__ . '/../../../../../../var'; |
204 | 204 | } |
205 | 205 | |
206 | + /** |
|
207 | + * @param string $sourceDir |
|
208 | + */ |
|
206 | 209 | protected function cleanupVarDir($sourceDir) |
207 | 210 | { |
208 | 211 | $fs = new Filesystem(); |
@@ -1512,7 +1512,7 @@ discard block |
||
1512 | 1512 | |
1513 | 1513 | /** |
1514 | 1514 | * @param \eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo |
1515 | - * @param $fieldDefinitionIdentifier |
|
1515 | + * @param string $fieldDefinitionIdentifier |
|
1516 | 1516 | * @param array $fieldValues |
1517 | 1517 | * |
1518 | 1518 | * @return \eZ\Publish\API\Repository\Values\Content\Content |
@@ -1646,6 +1646,10 @@ discard block |
||
1646 | 1646 | ); |
1647 | 1647 | } |
1648 | 1648 | |
1649 | + /** |
|
1650 | + * @param string $expectedPath |
|
1651 | + * @param boolean $expectedIsHistory |
|
1652 | + */ |
|
1649 | 1653 | private function assertUrlAliasPropertiesCorrect( |
1650 | 1654 | Location $expectedDestinationLocation, |
1651 | 1655 | $expectedPath, |
@@ -447,7 +447,7 @@ |
||
447 | 447 | } |
448 | 448 | |
449 | 449 | /** |
450 | - * @return \eZ\Publish\Core\MVC\ConfigResolverInterface|\PHPUnit\Framework\MockObject\MockObject |
|
450 | + * @return ConfigResolverInterface |
|
451 | 451 | */ |
452 | 452 | protected function createConfigResolverMock(): ConfigResolverInterface |
453 | 453 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Return the database connection from the service container. |
32 | 32 | * |
33 | - * @return \Doctrine\DBAL\Connection|object |
|
33 | + * @return Connection |
|
34 | 34 | */ |
35 | 35 | protected function getDatabaseConnection(): Connection |
36 | 36 | { |
@@ -59,7 +59,7 @@ |
||
59 | 59 | /** |
60 | 60 | * @param \Twig\Environment $twig |
61 | 61 | * @param \eZ\Publish\Core\MVC\Symfony\Templating\Twig\ResourceProviderInterface $resourceProvider |
62 | - * @param string|\Twig\Template $baseTemplate |
|
62 | + * @param string $baseTemplate |
|
63 | 63 | * @param array $blocks |
64 | 64 | */ |
65 | 65 | public function __construct( |
@@ -155,7 +155,7 @@ |
||
155 | 155 | } |
156 | 156 | |
157 | 157 | /** |
158 | - * @return \Doctrine\DBAL\Connection|\PHPUnit\Framework\MockObject\MockObject |
|
158 | + * @return Connection |
|
159 | 159 | */ |
160 | 160 | protected function getConnectionMock(): Connection |
161 | 161 | { |