@@ -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 | { |
@@ -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 | { |
@@ -206,7 +206,7 @@ |
||
206 | 206 | } |
207 | 207 | |
208 | 208 | /** |
209 | - * @return array |
|
209 | + * @return string[] |
|
210 | 210 | */ |
211 | 211 | protected function getContext() |
212 | 212 | { |
@@ -155,7 +155,7 @@ |
||
155 | 155 | * |
156 | 156 | * @param mixed $fieldId |
157 | 157 | * |
158 | - * @return array |
|
158 | + * @return string |
|
159 | 159 | */ |
160 | 160 | protected function fetchUserId($fieldId) |
161 | 161 | { |
@@ -492,7 +492,7 @@ |
||
492 | 492 | * @param mixed $userId |
493 | 493 | * @param string[] $prioritizedLanguages Used as prioritized language code on translated properties of returned object. |
494 | 494 | * |
495 | - * @return \eZ\Publish\API\Repository\Values\User\User |
|
495 | + * @return \eZ\Publish\API\Repository\Values\ValueObject |
|
496 | 496 | * |
497 | 497 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException if a user with the given id was not found |
498 | 498 | */ |