@@ -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 | { |
@@ -87,7 +87,7 @@ |
||
87 | 87 | * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException if the user is not allowed to delete a content type group |
88 | 88 | * @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException If a to be deleted content type has instances |
89 | 89 | * |
90 | - * @param \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $ContentTypeGroup |
|
90 | + * @param \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $contentTypeGroup |
|
91 | 91 | */ |
92 | 92 | public function deleteContentTypeGroup(ContentTypeGroup $contentTypeGroup); |
93 | 93 |
@@ -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 | { |
@@ -861,7 +861,7 @@ |
||
861 | 861 | * Asserts that the given $actualDefinition is correctly created from the |
862 | 862 | * create struct in $expectedCreate. |
863 | 863 | * |
864 | - * @param \eZ\Publish\API\Repository\Values\FieldDefinitionCreateStruct $expectedDefinitionCreate |
|
864 | + * @param \eZ\Publish\API\Repository\Values\FieldDefinitionCreateStruct $expectedCreate |
|
865 | 865 | * @param \eZ\Publish\API\Repository\Values\FieldDefinition $actualDefinition |
866 | 866 | */ |
867 | 867 | protected function assertFieldDefinitionsEqual($expectedCreate, $actualDefinition) |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | /** |
101 | 101 | * Get initial field data for valid object creation. |
102 | 102 | * |
103 | - * @return mixed |
|
103 | + * @return AuthorValue |
|
104 | 104 | */ |
105 | 105 | public function getValidCreationFieldData() |
106 | 106 | { |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | /** |
185 | 185 | * Get update field externals data. |
186 | 186 | * |
187 | - * @return array |
|
187 | + * @return AuthorValue |
|
188 | 188 | */ |
189 | 189 | public function getValidUpdateFieldData() |
190 | 190 | { |
@@ -482,6 +482,7 @@ |
||
482 | 482 | * Creates content with $fieldData. |
483 | 483 | * |
484 | 484 | * @param mixed $fieldData |
485 | + * @param Repository\Values\ContentType\ContentType $contentType |
|
485 | 486 | * |
486 | 487 | * @return \eZ\Publish\API\Repository\Values\Content\Content |
487 | 488 | */ |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | /** |
157 | 157 | * Get initial field data for valid object creation. |
158 | 158 | * |
159 | - * @return mixed |
|
159 | + * @return BinaryFileValue |
|
160 | 160 | */ |
161 | 161 | public function getValidCreationFieldData() |
162 | 162 | { |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | /** |
246 | 246 | * Get update field externals data. |
247 | 247 | * |
248 | - * @return array |
|
248 | + * @return BinaryFileValue |
|
249 | 249 | */ |
250 | 250 | public function getValidUpdateFieldData() |
251 | 251 | { |
@@ -12,7 +12,6 @@ |
||
12 | 12 | |
13 | 13 | use eZ\Publish\Core\FieldType\BinaryFile\Value as BinaryFileValue; |
14 | 14 | use eZ\Publish\API\Repository\Values\Content\Field; |
15 | -use eZ\Publish\API\Repository\Values\Content\Query\Criterion; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * Integration test for use field type. |
@@ -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 | { |