@@ -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. |
@@ -168,7 +168,7 @@ |
||
168 | 168 | * |
169 | 169 | * @param \eZ\Publish\Core\FieldType\Country\Value $value |
170 | 170 | * |
171 | - * @return array |
|
171 | + * @return string |
|
172 | 172 | */ |
173 | 173 | protected function getSortInfo(BaseValue $value) |
174 | 174 | { |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | /** |
185 | 185 | * Implements the core of {@see isEmptyValue()}. |
186 | 186 | * |
187 | - * @param mixed $value |
|
187 | + * @param SPIValue $value |
|
188 | 188 | * |
189 | 189 | * @return bool |
190 | 190 | */ |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | * |
234 | 234 | * @param \eZ\Publish\Core\FieldType\Float\Value $value |
235 | 235 | * |
236 | - * @return array |
|
236 | + * @return boolean |
|
237 | 237 | */ |
238 | 238 | protected function getSortInfo(BaseValue $value) |
239 | 239 | { |
@@ -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 | */ |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * Returns if the given $value is considered empty by the field type. |
78 | 78 | * |
79 | - * @param mixed $value |
|
79 | + * @param SPIValue $value |
|
80 | 80 | * |
81 | 81 | * @return bool |
82 | 82 | */ |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | * |
181 | 181 | * @param \eZ\Publish\Core\FieldType\ISBN\Value $value |
182 | 182 | * |
183 | - * @return array |
|
183 | + * @return string |
|
184 | 184 | */ |
185 | 185 | protected function getSortInfo(BaseValue $value) |
186 | 186 | { |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | /** |
191 | 191 | * Converts an $hash to the Value defined by the field type. |
192 | 192 | * |
193 | - * @param mixed $hash |
|
193 | + * @param string $hash |
|
194 | 194 | * |
195 | 195 | * @return \eZ\Publish\Core\FieldType\ISBN\Value $value |
196 | 196 | */ |
@@ -46,10 +46,10 @@ |
||
46 | 46 | |
47 | 47 | /** |
48 | 48 | * @param VersionInfo $versionInfo |
49 | - * @param array $fieldId |
|
49 | + * @param array $fieldIds |
|
50 | 50 | * @param array $context |
51 | 51 | * |
52 | - * @return bool |
|
52 | + * @return boolean|null |
|
53 | 53 | */ |
54 | 54 | public function deleteFieldData(VersionInfo $versionInfo, array $fieldIds, array $context) |
55 | 55 | { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | * @param VersionInfo $versionInfo |
70 | 70 | * @param Field $field |
71 | 71 | * |
72 | - * @return bool If restoring of the internal field data is required |
|
72 | + * @return null|boolean If restoring of the internal field data is required |
|
73 | 73 | */ |
74 | 74 | public function storeFieldData(VersionInfo $versionInfo, Field $field) |
75 | 75 | { |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * @param VersionInfo $versionInfo |
105 | 105 | * @param Field $field |
106 | 106 | * |
107 | - * @return bool |
|
107 | + * @return boolean|null |
|
108 | 108 | */ |
109 | 109 | protected function updateFieldData(VersionInfo $versionInfo, Field $field) |
110 | 110 | { |
@@ -188,6 +188,7 @@ discard block |
||
188 | 188 | * If no data is found, null is returned. |
189 | 189 | * |
190 | 190 | * @param int $fieldId |
191 | + * @param integer $versionNo |
|
191 | 192 | * |
192 | 193 | * @return array|null |
193 | 194 | */ |
@@ -96,7 +96,7 @@ |
||
96 | 96 | * add additional columns to be set in the database. Please do not forget |
97 | 97 | * to call the parent when overwriting this method. |
98 | 98 | * |
99 | - * @param \ezcQueryInsert $insertQuery |
|
99 | + * @param InsertQuery $insertQuery |
|
100 | 100 | * @param VersionInfo $versionInfo |
101 | 101 | * @param Field $field |
102 | 102 | */ |