@@ -183,6 +183,9 @@ |
||
| 183 | 183 | return $this->createTestContent('eng-US', $fieldValues); |
| 184 | 184 | } |
| 185 | 185 | |
| 186 | + /** |
|
| 187 | + * @param string $initialLanguageCode |
|
| 188 | + */ |
|
| 186 | 189 | protected function updateTestContent($initialLanguageCode, array $fieldValues) |
| 187 | 190 | { |
| 188 | 191 | $repository = $this->getRepository(); |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | /** |
| 99 | 99 | * Get initial field data for valid object creation. |
| 100 | 100 | * |
| 101 | - * @return mixed |
|
| 101 | + * @return CheckboxValue |
|
| 102 | 102 | */ |
| 103 | 103 | public function getValidCreationFieldData() |
| 104 | 104 | { |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | /** |
| 164 | 164 | * Get update field externals data. |
| 165 | 165 | * |
| 166 | - * @return array |
|
| 166 | + * @return CheckboxValue |
|
| 167 | 167 | */ |
| 168 | 168 | public function getValidUpdateFieldData() |
| 169 | 169 | { |
@@ -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 ImageValue |
|
| 155 | 155 | */ |
| 156 | 156 | public function getValidCreationFieldData() |
| 157 | 157 | { |
@@ -233,7 +233,7 @@ discard block |
||
| 233 | 233 | /** |
| 234 | 234 | * Get update field externals data. |
| 235 | 235 | * |
| 236 | - * @return array |
|
| 236 | + * @return ImageValue |
|
| 237 | 237 | */ |
| 238 | 238 | public function getValidUpdateFieldData() |
| 239 | 239 | { |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | /** |
| 99 | 99 | * Get initial field data for valid object creation. |
| 100 | 100 | * |
| 101 | - * @return mixed |
|
| 101 | + * @return MapLocationValue |
|
| 102 | 102 | */ |
| 103 | 103 | public function getValidCreationFieldData() |
| 104 | 104 | { |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | /** |
| 193 | 193 | * Get update field externals data. |
| 194 | 194 | * |
| 195 | - * @return array |
|
| 195 | + * @return MapLocationValue |
|
| 196 | 196 | */ |
| 197 | 197 | public function getValidUpdateFieldData() |
| 198 | 198 | { |
@@ -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 | { |