Completed
Push — EZP-31681 ( a8ed57...46e608 )
by
unknown
18:20
created
eZ/Publish/Core/Repository/ContentService.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1416,7 +1416,7 @@  discard block
 block discarded – undo
1416 1416
      *
1417 1417
      * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct
1418 1418
      *
1419
-     * @return array
1419
+     * @return string[]
1420 1420
      */
1421 1421
     private function getUpdatedLanguageCodes(APIContentUpdateStruct $contentUpdateStruct)
1422 1422
     {
@@ -1443,7 +1443,7 @@  discard block
 block discarded – undo
1443 1443
      * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct
1444 1444
      * @param \eZ\Publish\API\Repository\Values\Content\Content $content
1445 1445
      *
1446
-     * @return array
1446
+     * @return string[]
1447 1447
      */
1448 1448
     protected function getLanguageCodesForUpdate(APIContentUpdateStruct $contentUpdateStruct, APIContent $content)
1449 1449
     {
@@ -1572,7 +1572,7 @@  discard block
 block discarded – undo
1572 1572
 
1573 1573
     /**
1574 1574
      * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo
1575
-     * @param array $translations
1575
+     * @param string[] $translations
1576 1576
      *
1577 1577
      * @throws \eZ\Publish\API\Repository\Exceptions\BadStateException
1578 1578
      * @throws \eZ\Publish\API\Repository\Exceptions\ContentFieldValidationException
@@ -1642,7 +1642,7 @@  discard block
 block discarded – undo
1642 1642
      * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo
1643 1643
      * @param int|null $publicationDate If null existing date is kept if there is one, otherwise current time is used.
1644 1644
      *
1645
-     * @return \eZ\Publish\API\Repository\Values\Content\Content
1645
+     * @return LocationCreateStruct
1646 1646
      */
1647 1647
     protected function internalPublishVersion(APIVersionInfo $versionInfo, $publicationDate = null)
1648 1648
     {
Please login to merge, or discard this patch.