@@ -1488,7 +1488,7 @@ discard block |
||
| 1488 | 1488 | * |
| 1489 | 1489 | * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct |
| 1490 | 1490 | * |
| 1491 | - * @return array |
|
| 1491 | + * @return string[] |
|
| 1492 | 1492 | */ |
| 1493 | 1493 | private function getUpdatedLanguageCodes(APIContentUpdateStruct $contentUpdateStruct) |
| 1494 | 1494 | { |
@@ -1515,7 +1515,7 @@ discard block |
||
| 1515 | 1515 | * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct |
| 1516 | 1516 | * @param \eZ\Publish\API\Repository\Values\Content\Content $content |
| 1517 | 1517 | * |
| 1518 | - * @return array |
|
| 1518 | + * @return string[] |
|
| 1519 | 1519 | */ |
| 1520 | 1520 | protected function getLanguageCodesForUpdate(APIContentUpdateStruct $contentUpdateStruct, APIContent $content) |
| 1521 | 1521 | { |
@@ -1639,7 +1639,7 @@ discard block |
||
| 1639 | 1639 | |
| 1640 | 1640 | /** |
| 1641 | 1641 | * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo |
| 1642 | - * @param array $translations |
|
| 1642 | + * @param string[] $translations |
|
| 1643 | 1643 | * |
| 1644 | 1644 | * @throws \eZ\Publish\API\Repository\Exceptions\BadStateException |
| 1645 | 1645 | * @throws \eZ\Publish\API\Repository\Exceptions\ContentFieldValidationException |
@@ -1742,6 +1742,10 @@ discard block |
||
| 1742 | 1742 | $this->internalUpdateContent($versionInfo, $updateStruct); |
| 1743 | 1743 | } |
| 1744 | 1744 | |
| 1745 | + /** |
|
| 1746 | + * @param \eZ\Publish\SPI\FieldType\FieldType $fieldType |
|
| 1747 | + * @param \eZ\Publish\SPI\FieldType\Value $newValue |
|
| 1748 | + */ |
|
| 1745 | 1749 | protected function equalsHash($fieldType, $newValue, $fieldValue): bool |
| 1746 | 1750 | { |
| 1747 | 1751 | $newHash = $fieldType->toHash($newValue); |
@@ -1768,7 +1772,7 @@ discard block |
||
| 1768 | 1772 | * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo |
| 1769 | 1773 | * @param int|null $publicationDate If null existing date is kept if there is one, otherwise current time is used. |
| 1770 | 1774 | * |
| 1771 | - * @return \eZ\Publish\API\Repository\Values\Content\Content |
|
| 1775 | + * @return LocationCreateStruct |
|
| 1772 | 1776 | */ |
| 1773 | 1777 | protected function internalPublishVersion(APIVersionInfo $versionInfo, $publicationDate = null) |
| 1774 | 1778 | { |