@@ -1825,6 +1825,11 @@ |
||
1825 | 1825 | return $userGroup; |
1826 | 1826 | } |
1827 | 1827 | |
1828 | + /** |
|
1829 | + * @param string $login |
|
1830 | + * @param string $password |
|
1831 | + * @param integer $type |
|
1832 | + */ |
|
1828 | 1833 | private function createHash($login, $password, $type) |
1829 | 1834 | { |
1830 | 1835 | switch ($type) { |
@@ -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 |
@@ -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 | { |