@@ -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 |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * add additional columns to be fetched from the database. Please do not |
52 | 52 | * forget to call the parent when overwriting this method. |
53 | 53 | * |
54 | - * @param eZ\Publish\Core\Persistence\Database\SelectQuery $selectQuery |
|
54 | + * @param SelectQuery $selectQuery |
|
55 | 55 | * @param int $fieldId |
56 | 56 | * @param int $versionNo |
57 | 57 | */ |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | * add additional columns to be set in the database. Please do not forget |
73 | 73 | * to call the parent when overwriting this method. |
74 | 74 | * |
75 | - * @param \ezcQueryInsert $insertQuery |
|
75 | + * @param InsertQuery $insertQuery |
|
76 | 76 | * @param VersionInfo $versionInfo |
77 | 77 | * @param Field $field |
78 | 78 | */ |
@@ -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 | { |
@@ -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 |
@@ -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 | */ |
@@ -62,7 +62,7 @@ |
||
62 | 62 | /** |
63 | 63 | * Returns if the given $value is considered empty by the field type. |
64 | 64 | * |
65 | - * @param mixed $value |
|
65 | + * @param SPIValue $value |
|
66 | 66 | * |
67 | 67 | * @return bool |
68 | 68 | */ |