@@ -762,7 +762,7 @@ |
||
| 762 | 762 | } |
| 763 | 763 | |
| 764 | 764 | /** |
| 765 | - * @param array $methods |
|
| 765 | + * @param string[] $methods |
|
| 766 | 766 | * |
| 767 | 767 | * @return \eZ\Publish\Core\Search\Common\FieldNameResolver|\PHPUnit_Framework_MockObject_MockObject |
| 768 | 768 | */ |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | /** |
| 50 | 50 | * Get handler with required custom field types registered. |
| 51 | 51 | * |
| 52 | - * @return Handler |
|
| 52 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
| 53 | 53 | */ |
| 54 | 54 | public function getCustomHandler() |
| 55 | 55 | { |
@@ -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 |
@@ -99,6 +99,9 @@ discard block |
||
| 99 | 99 | ); |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | + /** |
|
| 103 | + * @return \eZ\Publish\Core\Base\Utils\DeprecationWarnerInterface |
|
| 104 | + */ |
|
| 102 | 105 | public function getDeprecationWarnerMock() |
| 103 | 106 | { |
| 104 | 107 | if (!isset($this->deprecationWarnerMock)) { |
@@ -108,6 +111,9 @@ discard block |
||
| 108 | 111 | return $this->deprecationWarnerMock; |
| 109 | 112 | } |
| 110 | 113 | |
| 114 | + /** |
|
| 115 | + * @return null|FieldType\Image\AliasCleanerInterface |
|
| 116 | + */ |
|
| 111 | 117 | public function getAliasCleanerMock() |
| 112 | 118 | { |
| 113 | 119 | if (!isset($this->aliasCleanerMock)) { |
@@ -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 | */ |
@@ -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 |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | * @param \eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause |
| 80 | 80 | * @param int $number |
| 81 | 81 | * |
| 82 | - * @return string |
|
| 82 | + * @return string[] |
|
| 83 | 83 | */ |
| 84 | 84 | public function applySelect(SelectQuery $query, SortClause $sortClause, $number) |
| 85 | 85 | { |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | /** |
| 50 | 50 | * Get handler with required custom field types registered. |
| 51 | 51 | * |
| 52 | - * @return Handler |
|
| 52 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
| 53 | 53 | */ |
| 54 | 54 | public function getCustomHandler() |
| 55 | 55 | { |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | /** |
| 50 | 50 | * Get handler with required custom field types registered. |
| 51 | 51 | * |
| 52 | - * @return Handler |
|
| 52 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
| 53 | 53 | */ |
| 54 | 54 | public function getCustomHandler() |
| 55 | 55 | { |