@@ -417,7 +417,7 @@ |
||
| 417 | 417 | * @param \eZ\Publish\SPI\Persistence\Content\Field[] $fields |
| 418 | 418 | * @param array $languageCodes |
| 419 | 419 | * |
| 420 | - * @return \eZ\Publish\SPI\Persistence\Content\Field[][] |
|
| 420 | + * @return Content |
|
| 421 | 421 | */ |
| 422 | 422 | protected function getFieldMap(array $fields, &$languageCodes = null) |
| 423 | 423 | { |
@@ -513,9 +513,9 @@ discard block |
||
| 513 | 513 | * ATTENTION: This is not an API method and only meant for internal use in |
| 514 | 514 | * the REST Client implementation. |
| 515 | 515 | * |
| 516 | - * @param mixed $fieldDefinitionListReference |
|
| 516 | + * @param string $fieldDefinitionListReference |
|
| 517 | 517 | * |
| 518 | - * @return \eZ\Publish\Core\REST\Client\Values\FieldDefinitionList |
|
| 518 | + * @return \eZ\Publish\API\Repository\Values\ValueObject |
|
| 519 | 519 | */ |
| 520 | 520 | public function loadFieldDefinitionList($fieldDefinitionListReference) |
| 521 | 521 | { |
@@ -536,9 +536,9 @@ discard block |
||
| 536 | 536 | * ATTENTION: This is not an API method and only meant for internal use in |
| 537 | 537 | * the REST Client implementation. |
| 538 | 538 | * |
| 539 | - * @param mixed $contentTypeGroupListReference |
|
| 539 | + * @param string $contentTypeGroupListReference |
|
| 540 | 540 | * |
| 541 | - * @return \eZ\Publish\Core\REST\Client\Values\ContentTypeGroupRefList |
|
| 541 | + * @return \eZ\Publish\API\Repository\Values\ValueObject |
|
| 542 | 542 | */ |
| 543 | 543 | public function loadContentTypeGroupList($contentTypeGroupListReference) |
| 544 | 544 | { |
@@ -30,6 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * {@inheritdoc} |
| 33 | + * @param string $languageCode |
|
| 33 | 34 | */ |
| 34 | 35 | public function getDescription($languageCode = null) |
| 35 | 36 | { |
@@ -30,6 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * {@inheritdoc} |
| 33 | + * @param string $languageCode |
|
| 33 | 34 | */ |
| 34 | 35 | public function getName($languageCode = null) |
| 35 | 36 | { |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * @param string $fieldDefIdentifier |
| 45 | 45 | * @param string $languageCode |
| 46 | 46 | * |
| 47 | - * @return mixed a primitive type or a field type Value object depending on the field type. |
|
| 47 | + * @return \eZ\Publish\SPI\FieldType\Value|null a primitive type or a field type Value object depending on the field type. |
|
| 48 | 48 | */ |
| 49 | 49 | public function getFieldValue($fieldDefIdentifier, $languageCode = null) |
| 50 | 50 | { |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * @param string $fieldDefIdentifier |
| 45 | 45 | * @param string $languageCode |
| 46 | 46 | * |
| 47 | - * @return mixed a primitive type or a field type Value object depending on the field type. |
|
| 47 | + * @return \eZ\Publish\SPI\FieldType\Value|null a primitive type or a field type Value object depending on the field type. |
|
| 48 | 48 | */ |
| 49 | 49 | public function getFieldValue($fieldDefIdentifier, $languageCode = null) |
| 50 | 50 | { |
@@ -109,6 +109,9 @@ |
||
| 109 | 109 | $conn->exec('DELETE FROM ezcontentobject_link WHERE relation_type = 0'); |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | + /** |
|
| 113 | + * @param integer $totalCount |
|
| 114 | + */ |
|
| 112 | 115 | protected function executeList(OutputInterface $output, $totalCount) |
| 113 | 116 | { |
| 114 | 117 | $table = new Table($output); |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | * @param \eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo |
| 80 | 80 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
| 81 | 81 | * |
| 82 | - * @return bool |
|
| 82 | + * @return boolean|null |
|
| 83 | 83 | */ |
| 84 | 84 | protected function updateFieldData(VersionInfo $versionInfo, Field $field) |
| 85 | 85 | { |
@@ -163,6 +163,7 @@ discard block |
||
| 163 | 163 | * If no data is found, null is returned. |
| 164 | 164 | * |
| 165 | 165 | * @param int $fieldId |
| 166 | + * @param integer $versionNo |
|
| 166 | 167 | * |
| 167 | 168 | * @return array|null |
| 168 | 169 | */ |
@@ -353,7 +353,7 @@ discard block |
||
| 353 | 353 | } |
| 354 | 354 | |
| 355 | 355 | /** |
| 356 | - * @return array |
|
| 356 | + * @return string[] |
|
| 357 | 357 | */ |
| 358 | 358 | protected function getContext() |
| 359 | 359 | { |
@@ -366,7 +366,7 @@ discard block |
||
| 366 | 366 | protected $loggerMock; |
| 367 | 367 | |
| 368 | 368 | /** |
| 369 | - * @return \Psr\Log\LoggerInterface|\PHPUnit_Framework_MockObject_MockObject |
|
| 369 | + * @return integer |
|
| 370 | 370 | */ |
| 371 | 371 | protected function getLoggerMock() |
| 372 | 372 | { |