@@ -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 | { |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | } |
118 | 118 | |
119 | 119 | /** |
120 | - * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler|\PHPUnit_Framework_MockObject_MockObject |
|
120 | + * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler |
|
121 | 121 | */ |
122 | 122 | protected function getLanguageHandlerMock() |
123 | 123 | { |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | } |
126 | 126 | |
127 | 127 | /** |
128 | - * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler|\PHPUnit_Framework_MockObject_MockObject |
|
128 | + * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler |
|
129 | 129 | */ |
130 | 130 | protected function getTypeHandlerMock() |
131 | 131 | { |
@@ -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); |