@@ -149,7 +149,7 @@ |
||
149 | 149 | } |
150 | 150 | |
151 | 151 | /** |
152 | - * @return \Symfony\Cmf\Component\Routing\ChainRouter|\PHPUnit_Framework_MockObject_MockObject |
|
152 | + * @return \Symfony\Component\Routing\RouterInterface |
|
153 | 153 | */ |
154 | 154 | private function getRouterMock() |
155 | 155 | { |
@@ -183,6 +183,9 @@ |
||
183 | 183 | return $this->createTestContent('eng-US', $fieldValues); |
184 | 184 | } |
185 | 185 | |
186 | + /** |
|
187 | + * @param string $initialLanguageCode |
|
188 | + */ |
|
186 | 189 | protected function updateTestContent($initialLanguageCode, array $fieldValues) |
187 | 190 | { |
188 | 191 | $repository = $this->getRepository(); |
@@ -2737,7 +2737,7 @@ discard block |
||
2737 | 2737 | /** |
2738 | 2738 | * Test for the addRelation() method. |
2739 | 2739 | * |
2740 | - * @return \eZ\Publish\API\Repository\Values\Content\Content |
|
2740 | + * @return Relation[] |
|
2741 | 2741 | * |
2742 | 2742 | * @see \eZ\Publish\API\Repository\ContentService::addRelation() |
2743 | 2743 | * @depends eZ\Publish\API\Repository\Tests\ContentServiceTest::testPublishVersionFromContentDraft |
@@ -4554,7 +4554,7 @@ discard block |
||
4554 | 4554 | * given properties are available in $actualAliases and not more. |
4555 | 4555 | * |
4556 | 4556 | * @param array $expectedAliasProperties |
4557 | - * @param array $actualAliases |
|
4557 | + * @param URLAlias[] $actualAliases |
|
4558 | 4558 | */ |
4559 | 4559 | private function assertAliasesCorrect(array $expectedAliasProperties, array $actualAliases) |
4560 | 4560 | { |
@@ -4716,7 +4716,7 @@ discard block |
||
4716 | 4716 | /** |
4717 | 4717 | * Returns the default fixture of fields used in most tests. |
4718 | 4718 | * |
4719 | - * @return \eZ\Publish\API\Repository\Values\Content\Field[] |
|
4719 | + * @return Field[] |
|
4720 | 4720 | */ |
4721 | 4721 | private function createFieldsFixture() |
4722 | 4722 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Get initial field data for valid object creation. |
100 | 100 | * |
101 | - * @return mixed |
|
101 | + * @return CheckboxValue |
|
102 | 102 | */ |
103 | 103 | public function getValidCreationFieldData() |
104 | 104 | { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | /** |
164 | 164 | * Get update field externals data. |
165 | 165 | * |
166 | - * @return array |
|
166 | + * @return CheckboxValue |
|
167 | 167 | */ |
168 | 168 | public function getValidUpdateFieldData() |
169 | 169 | { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | /** |
152 | 152 | * Get initial field data for valid object creation. |
153 | 153 | * |
154 | - * @return mixed |
|
154 | + * @return ImageValue |
|
155 | 155 | */ |
156 | 156 | public function getValidCreationFieldData() |
157 | 157 | { |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | /** |
234 | 234 | * Get update field externals data. |
235 | 235 | * |
236 | - * @return array |
|
236 | + * @return ImageValue |
|
237 | 237 | */ |
238 | 238 | public function getValidUpdateFieldData() |
239 | 239 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Get initial field data for valid object creation. |
100 | 100 | * |
101 | - * @return mixed |
|
101 | + * @return MapLocationValue |
|
102 | 102 | */ |
103 | 103 | public function getValidCreationFieldData() |
104 | 104 | { |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | /** |
193 | 193 | * Get update field externals data. |
194 | 194 | * |
195 | - * @return array |
|
195 | + * @return MapLocationValue |
|
196 | 196 | */ |
197 | 197 | public function getValidUpdateFieldData() |
198 | 198 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Get initial field data for valid object creation. |
100 | 100 | * |
101 | - * @return mixed |
|
101 | + * @return RatingValue |
|
102 | 102 | */ |
103 | 103 | public function getValidCreationFieldData() |
104 | 104 | { |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | /** |
167 | 167 | * Get update field externals data. |
168 | 168 | * |
169 | - * @return array |
|
169 | + * @return RatingValue |
|
170 | 170 | */ |
171 | 171 | public function getValidUpdateFieldData() |
172 | 172 | { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | /** |
106 | 106 | * Get initial field externals data. |
107 | 107 | * |
108 | - * @return array |
|
108 | + * @return UserValue |
|
109 | 109 | */ |
110 | 110 | public function getValidCreationFieldData() |
111 | 111 | { |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | /** |
179 | 179 | * Get update field externals data. |
180 | 180 | * |
181 | - * @return array |
|
181 | + * @return UserValue |
|
182 | 182 | */ |
183 | 183 | public function getValidUpdateFieldData() |
184 | 184 | { |
@@ -3826,6 +3826,7 @@ discard block |
||
3826 | 3826 | * Test for the findContent() method. |
3827 | 3827 | * |
3828 | 3828 | * @see \eZ\Publish\API\Repository\SearchService::findContent() |
3829 | + * @param string $queryType |
|
3829 | 3830 | */ |
3830 | 3831 | public function testUserMetadataGroupHorizontalFilterContent($queryType = null) |
3831 | 3832 | { |
@@ -3915,6 +3916,7 @@ discard block |
||
3915 | 3916 | * Test for the findLocations() method. |
3916 | 3917 | * |
3917 | 3918 | * @see \eZ\Publish\API\Repository\SearchService::findLocations() |
3919 | + * @param string $queryType |
|
3918 | 3920 | */ |
3919 | 3921 | public function testUserMetadataGroupHorizontalFilterLocation($queryType = null) |
3920 | 3922 | { |
@@ -4354,7 +4356,7 @@ discard block |
||
4354 | 4356 | * |
4355 | 4357 | * @param null|callable $closure |
4356 | 4358 | * |
4357 | - * @return callable |
|
4359 | + * @return \Closure |
|
4358 | 4360 | */ |
4359 | 4361 | private function getContentInfoFixtureClosure($closure = null) |
4360 | 4362 | { |