@@ -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 | { |
@@ -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 | { |