@@ -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)) { |
@@ -11,7 +11,6 @@ |
||
11 | 11 | namespace eZ\Bundle\EzPublishRestBundle\Tests\Functional; |
12 | 12 | |
13 | 13 | use eZ\Bundle\EzPublishRestBundle\Tests\Functional\TestCase as RESTFunctionalTestCase; |
14 | -use eZ\Publish\API\Repository\Values\User\Limitation; |
|
15 | 14 | |
16 | 15 | class RoleTest extends RESTFunctionalTestCase |
17 | 16 | { |
@@ -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 | */ |
@@ -8,11 +8,10 @@ |
||
8 | 8 | */ |
9 | 9 | namespace eZ\Publish\API\Repository\Tests; |
10 | 10 | |
11 | -use eZ\Publish\API\Repository\Tests\SetupFactory\LegacyElasticsearch as LegacyElasticsearchSetupFactory; |
|
11 | +use eZ\Publish\API\Repository\Tests\SetupFactory\LegacyElasticsearch; |
|
12 | 12 | use eZ\Publish\API\Repository\Values\Content\ContentInfo; |
13 | 13 | use eZ\Publish\API\Repository\Exceptions\NotFoundException; |
14 | 14 | use eZ\Publish\API\Repository\SearchService; |
15 | -use eZ\Publish\API\Repository\Tests\SetupFactory\LegacyElasticsearch; |
|
16 | 15 | use eZ\Publish\API\Repository\Values\Content\LocationQuery; |
17 | 16 | use eZ\Publish\API\Repository\Values\Content\Query; |
18 | 17 | use eZ\Publish\API\Repository\Values\Content\Query\Criterion; |
@@ -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 | { |