@@ -361,7 +361,7 @@ discard block |
||
361 | 361 | * $languageCode. |
362 | 362 | * |
363 | 363 | * @param Type $contentType |
364 | - * @param mixed $fieldValue |
|
364 | + * @param Content\FieldValue $fieldValue |
|
365 | 365 | * @param string $languageCode |
366 | 366 | * |
367 | 367 | * @return Content |
@@ -480,8 +480,8 @@ discard block |
||
480 | 480 | /** |
481 | 481 | * Performs an update on $contentId in $contentVersion setting $field. |
482 | 482 | * |
483 | - * @param mixed $contentId |
|
484 | - * @param mixed $contentVersion |
|
483 | + * @param string $contentId |
|
484 | + * @param string $contentVersion |
|
485 | 485 | * @param Field $field |
486 | 486 | * |
487 | 487 | * @return Content |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * |
28 | 28 | * @param \eZ\Publish\SPI\Search\Field $field |
29 | 29 | * |
30 | - * @return mixed |
|
30 | + * @return boolean |
|
31 | 31 | */ |
32 | 32 | public function canMap(Field $field) |
33 | 33 | { |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * |
40 | 40 | * @param \eZ\Publish\SPI\Search\Field $field |
41 | 41 | * |
42 | - * @return mixed |
|
42 | + * @return string |
|
43 | 43 | */ |
44 | 44 | public function map(Field $field) |
45 | 45 | { |
@@ -38,7 +38,7 @@ |
||
38 | 38 | * |
39 | 39 | * @param \eZ\Publish\SPI\Search\Field $field |
40 | 40 | * |
41 | - * @return mixed |
|
41 | + * @return string |
|
42 | 42 | */ |
43 | 43 | public function map(Field $field) |
44 | 44 | { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | * |
38 | 38 | * @param \eZ\Publish\SPI\Search\Field $field |
39 | 39 | * |
40 | - * @return mixed|null Returns null on empty value |
|
40 | + * @return null|string Returns null on empty value |
|
41 | 41 | */ |
42 | 42 | public function map(Field $field) |
43 | 43 | { |
@@ -38,7 +38,7 @@ |
||
38 | 38 | * |
39 | 39 | * @param \eZ\Publish\SPI\Search\Field $field |
40 | 40 | * |
41 | - * @return mixed |
|
41 | + * @return string |
|
42 | 42 | */ |
43 | 43 | public function map(Field $field) |
44 | 44 | { |
@@ -628,7 +628,7 @@ |
||
628 | 628 | * Returns Role stub. |
629 | 629 | * |
630 | 630 | * @param array $policiesData |
631 | - * @param mixed $roleId |
|
631 | + * @param integer $roleId |
|
632 | 632 | * |
633 | 633 | * @return \eZ\Publish\SPI\Persistence\User\Role |
634 | 634 | */ |
@@ -295,7 +295,7 @@ discard block |
||
295 | 295 | * @param bool $showAllTranslations |
296 | 296 | * @param string[] $prioritizedLanguageList |
297 | 297 | * |
298 | - * @return string|bool |
|
298 | + * @return false|string |
|
299 | 299 | */ |
300 | 300 | protected function extractPath( |
301 | 301 | SPIURLAlias $spiUrlAlias, |
@@ -640,7 +640,7 @@ discard block |
||
640 | 640 | * @param \eZ\Publish\API\Repository\Values\Content\Location $location |
641 | 641 | * @param string $languageCode |
642 | 642 | * @param null|bool $showAllTranslations |
643 | - * @param null|string[] $prioritizedLanguageList |
|
643 | + * @param string[] $prioritizedLanguageList |
|
644 | 644 | * |
645 | 645 | * @return \eZ\Publish\API\Repository\Values\Content\URLAlias |
646 | 646 | */ |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use eZ\Publish\Core\Search\Legacy\Content\FullTextData; |
15 | 15 | use eZ\Publish\SPI\Persistence\Content; |
16 | 16 | use eZ\Publish\SPI\Persistence\Content\Type\Handler as SPITypeHandler; |
17 | -use eZ\Publish\SPI\Search\Field; |
|
18 | 17 | |
19 | 18 | /** |
20 | 19 | * WordIndexer gateway implementation using the Doctrine database. |
@@ -184,7 +184,7 @@ |
||
184 | 184 | * Ported from the legacy code |
185 | 185 | * @see https://github.com/ezsystems/ezpublish-legacy/blob/master/kernel/search/plugins/ezsearchengine/ezsearchengine.php#L386 |
186 | 186 | * |
187 | - * @param mixed $contentId |
|
187 | + * @param integer $contentId |
|
188 | 188 | * @param mixed|null $versionId |
189 | 189 | * |
190 | 190 | * @return bool |
@@ -127,15 +127,15 @@ |
||
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 | 141 | */ |