@@ -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 | */ |
@@ -84,7 +84,6 @@ |
||
84 | 84 | * |
85 | 85 | * @param array $zoneDefinition |
86 | 86 | * @param array $blockDefinition |
87 | - * @param \eZ\Publish\API\Repository\LocationService $locationService |
|
88 | 87 | * @param \eZ\Publish\API\Repository\ContentService $contentService |
89 | 88 | */ |
90 | 89 | public function __construct( |
@@ -225,7 +225,7 @@ |
||
225 | 225 | * |
226 | 226 | * @param int|string $id |
227 | 227 | * |
228 | - * @return int |
|
228 | + * @return string |
|
229 | 229 | */ |
230 | 230 | public function getContentIdByBlockId($id) |
231 | 231 | { |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * This value will be used, if no value was provided for a field of this |
109 | 109 | * type and no default value was specified in the field definition. |
110 | 110 | * |
111 | - * @return mixed |
|
111 | + * @return Value |
|
112 | 112 | */ |
113 | 113 | public function getEmptyValue() |
114 | 114 | { |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | * |
218 | 218 | * @param \eZ\Publish\Core\FieldType\Page\Value $value |
219 | 219 | * |
220 | - * @return mixed |
|
220 | + * @return boolean |
|
221 | 221 | */ |
222 | 222 | protected function getSortInfo(BaseValue $value) |
223 | 223 | { |