@@ -127,18 +127,18 @@ |
||
| 127 | 127 | * Link word with specific content object (legacy db table: ezsearch_object_word_link). |
| 128 | 128 | * |
| 129 | 129 | * @param $wordId |
| 130 | - * @param $contentId |
|
| 131 | - * @param $frequency |
|
| 132 | - * @param $placement |
|
| 130 | + * @param integer $contentId |
|
| 131 | + * @param integer $frequency |
|
| 132 | + * @param integer $placement |
|
| 133 | 133 | * @param $nextWordId |
| 134 | 134 | * @param $prevWordId |
| 135 | - * @param $contentTypeId |
|
| 135 | + * @param integer $contentTypeId |
|
| 136 | 136 | * @param $fieldTypeId |
| 137 | - * @param $published |
|
| 138 | - * @param $sectionId |
|
| 137 | + * @param integer $published |
|
| 138 | + * @param integer $sectionId |
|
| 139 | 139 | * @param $identifier |
| 140 | 140 | * @param $integerValue |
| 141 | - * @param $languageMask |
|
| 141 | + * @param integer $languageMask |
|
| 142 | 142 | */ |
| 143 | 143 | public function addObjectWordLink($wordId, |
| 144 | 144 | $contentId, |
@@ -332,7 +332,7 @@ |
||
| 332 | 332 | } |
| 333 | 333 | |
| 334 | 334 | /** |
| 335 | - * @param mixed $locationId |
|
| 335 | + * @param integer $locationId |
|
| 336 | 336 | * @param bool $count |
| 337 | 337 | * |
| 338 | 338 | * @return \Doctrine\DBAL\Driver\Statement |
@@ -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 |
@@ -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 | { |
@@ -1239,7 +1239,7 @@ discard block |
||
| 1239 | 1239 | /** |
| 1240 | 1240 | * Create test Content with ezcountry field having multiple countries selected. |
| 1241 | 1241 | * |
| 1242 | - * @return \eZ\Publish\API\Repository\Values\Content\Content[] |
|
| 1242 | + * @return Content |
|
| 1243 | 1243 | */ |
| 1244 | 1244 | protected function createMultipleCountriesContent() |
| 1245 | 1245 | { |
@@ -3878,6 +3878,7 @@ discard block |
||
| 3878 | 3878 | * Test for the findContent() method. |
| 3879 | 3879 | * |
| 3880 | 3880 | * @see \eZ\Publish\API\Repository\SearchService::findContent() |
| 3881 | + * @param string $queryType |
|
| 3881 | 3882 | */ |
| 3882 | 3883 | public function testUserMetadataGroupHorizontalFilterContent($queryType = null) |
| 3883 | 3884 | { |
@@ -3967,6 +3968,7 @@ discard block |
||
| 3967 | 3968 | * Test for the findLocations() method. |
| 3968 | 3969 | * |
| 3969 | 3970 | * @see \eZ\Publish\API\Repository\SearchService::findLocations() |
| 3971 | + * @param string $queryType |
|
| 3970 | 3972 | */ |
| 3971 | 3973 | public function testUserMetadataGroupHorizontalFilterLocation($queryType = null) |
| 3972 | 3974 | { |
@@ -4686,7 +4688,7 @@ discard block |
||
| 4686 | 4688 | * |
| 4687 | 4689 | * @param callable|null $closure |
| 4688 | 4690 | * |
| 4689 | - * @return callable |
|
| 4691 | + * @return \Closure |
|
| 4690 | 4692 | */ |
| 4691 | 4693 | private function getContentInfoFixtureClosure($closure = null) |
| 4692 | 4694 | { |
@@ -4787,7 +4789,7 @@ discard block |
||
| 4787 | 4789 | /** |
| 4788 | 4790 | * @param string $findMethod |
| 4789 | 4791 | * @param \eZ\Publish\API\Repository\Values\Content\Query $query |
| 4790 | - * @param array $languages |
|
| 4792 | + * @param string[] $languages |
|
| 4791 | 4793 | * @param bool $useAlwaysAvailable |
| 4792 | 4794 | * |
| 4793 | 4795 | * @throws \InvalidArgumentException |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | |
| 11 | 11 | use eZ\Publish\API\Repository\ContentTypeService as ContentTypeServiceInterface; |
| 12 | 12 | use eZ\Publish\API\Repository\Repository as RepositoryInterface; |
| 13 | -use eZ\Publish\API\Repository\Values\ContentType\ContentType; |
|
| 13 | +use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType; |
|
| 14 | 14 | use eZ\Publish\SPI\Persistence\Content\Type\Handler; |
| 15 | 15 | use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException; |
| 16 | 16 | use eZ\Publish\API\Repository\Exceptions\BadStateException as APIBadStateException; |
@@ -19,7 +19,6 @@ discard block |
||
| 19 | 19 | use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionUpdateStruct; |
| 20 | 20 | use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition as APIFieldDefinition; |
| 21 | 21 | use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCreateStruct; |
| 22 | -use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType; |
|
| 23 | 22 | use eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft as APIContentTypeDraft; |
| 24 | 23 | use eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup as APIContentTypeGroup; |
| 25 | 24 | use eZ\Publish\API\Repository\Values\ContentType\ContentTypeUpdateStruct; |
@@ -321,7 +321,7 @@ discard block |
||
| 321 | 321 | * @param bool $showAllTranslations |
| 322 | 322 | * @param string[] $prioritizedLanguageList |
| 323 | 323 | * |
| 324 | - * @return string|bool |
|
| 324 | + * @return false|string |
|
| 325 | 325 | */ |
| 326 | 326 | protected function extractPath( |
| 327 | 327 | SPIURLAlias $spiUrlAlias, |
@@ -674,7 +674,7 @@ discard block |
||
| 674 | 674 | * @param \eZ\Publish\API\Repository\Values\Content\Location $location |
| 675 | 675 | * @param string $languageCode |
| 676 | 676 | * @param bool|null $showAllTranslations |
| 677 | - * @param string[]|null $prioritizedLanguageList |
|
| 677 | + * @param string[] $prioritizedLanguageList |
|
| 678 | 678 | * |
| 679 | 679 | * @return \eZ\Publish\API\Repository\Values\Content\URLAlias |
| 680 | 680 | */ |
@@ -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 | { |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | /** |
| 33 | 33 | * Map field value to a proper search engine representation. |
| 34 | 34 | * |
| 35 | - * @return mixed |
|
| 35 | + * @return string |
|
| 36 | 36 | */ |
| 37 | 37 | public function map(Field $field) |
| 38 | 38 | { |
@@ -93,7 +93,7 @@ |
||
| 93 | 93 | /** |
| 94 | 94 | * Create 2 * number of remote IDs test data sets (one for Content, another for Location). |
| 95 | 95 | * |
| 96 | - * @return iterable |
|
| 96 | + * @return \Generator |
|
| 97 | 97 | */ |
| 98 | 98 | public function providerForTestIndexingRemoteId(): iterable |
| 99 | 99 | { |