@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | /** |
37 | 37 | * @param \eZ\Publish\API\Repository\Values\Content\Content $content |
38 | 38 | * |
39 | - * @return array|\eZ\Publish\API\Repository\Values\Content\Relation[] |
|
39 | + * @return Relation[] |
|
40 | 40 | */ |
41 | 41 | public function getCreateExpectedRelations(Content $content) |
42 | 42 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | /** |
58 | 58 | * @param \eZ\Publish\API\Repository\Values\Content\Content $content |
59 | 59 | * |
60 | - * @return array|\eZ\Publish\API\Repository\Values\Content\Relation[] |
|
60 | + * @return Relation[] |
|
61 | 61 | */ |
62 | 62 | public function getUpdateExpectedRelations(Content $content) |
63 | 63 | { |
@@ -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 RelationValue |
|
155 | 155 | */ |
156 | 156 | public function getValidCreationFieldData() |
157 | 157 | { |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | /** |
217 | 217 | * Get update field externals data. |
218 | 218 | * |
219 | - * @return array |
|
219 | + * @return RelationValue |
|
220 | 220 | */ |
221 | 221 | public function getValidUpdateFieldData() |
222 | 222 | { |
@@ -132,7 +132,7 @@ |
||
132 | 132 | } |
133 | 133 | |
134 | 134 | /** |
135 | - * @param array $parentLocationIds |
|
135 | + * @param integer[] $parentLocationIds |
|
136 | 136 | * |
137 | 137 | * @return array |
138 | 138 | */ |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * Will match of the given criterion doesn't match |
24 | 24 | * |
25 | - * @param Criterion[] $criteria One criterion, as an array |
|
25 | + * @param Criterion[] $criterion One criterion, as an array |
|
26 | 26 | * |
27 | 27 | * @throws \InvalidArgumentException if more than one criterion is given in the array parameter |
28 | 28 | */ |
@@ -67,7 +67,7 @@ |
||
67 | 67 | protected $bypassCache; |
68 | 68 | |
69 | 69 | /** |
70 | - * @param string|ContainerInterface $container Path to the container file or container instance |
|
70 | + * @param ContainerBuilder $container Path to the container file or container instance |
|
71 | 71 | * @param string $installDir Installation directory, required by default 'containerBuilder.php' file |
72 | 72 | * @param string $cacheDir Directory where PHP container cache will be stored |
73 | 73 | * @param bool $debug Default false should be used for production, if true resources will be checked |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
25 | 25 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
26 | 26 | * |
27 | - * @return \eZ\Publish\SPI\Search\Field[] |
|
27 | + * @return Search\Field[] |
|
28 | 28 | */ |
29 | 29 | public function getIndexData(Field $field, FieldDefinition $fieldDefinition) |
30 | 30 | { |
@@ -13,7 +13,6 @@ |
||
13 | 13 | use eZ\Publish\Core\FieldType\BinaryBase\Type as BinaryBaseType; |
14 | 14 | use eZ\Publish\SPI\Persistence\Content\FieldValue; |
15 | 15 | use eZ\Publish\SPI\FieldType\Value as SPIValue; |
16 | -use eZ\Publish\Core\FieldType\Value as BaseValue; |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * The TextLine field type. |
@@ -69,7 +69,6 @@ |
||
69 | 69 | /** |
70 | 70 | * @param \eZ\Publish\Core\IO\IOServiceInterface $publishedIOService |
71 | 71 | * @param \eZ\Publish\Core\IO\IOServiceInterface $draftIOService |
72 | - * @param array $options Path options. Known keys: var_dir, storage_dir, draft_images_dir, published_images_dir. |
|
73 | 72 | * |
74 | 73 | * @throws \eZ\Publish\Core\Base\Exceptions\InvalidArgumentException if required options are missing |
75 | 74 | * @throws \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException |
@@ -187,7 +187,7 @@ |
||
187 | 187 | /** |
188 | 188 | * Returns if the given $value is considered empty by the field type. |
189 | 189 | * |
190 | - * @param mixed $value |
|
190 | + * @param SPIValue $value |
|
191 | 191 | * |
192 | 192 | * @return bool |
193 | 193 | */ |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * NOT take care for test case wide caching of the field type, just return |
29 | 29 | * a new instance from this method! |
30 | 30 | * |
31 | - * @return FieldType |
|
31 | + * @return BinaryFileType |
|
32 | 32 | */ |
33 | 33 | protected function createFieldTypeUnderTest() |
34 | 34 | { |