Completed
Push — 6.7 ( 61fa42...f64802 )
by André
18:27 queued 05:50
created
eZ/Publish/Core/Repository/ContentService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1312,7 +1312,7 @@  discard block
 block discarded – undo
1312 1312
      * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct
1313 1313
      * @param \eZ\Publish\API\Repository\Values\Content\Content $content
1314 1314
      *
1315
-     * @return array
1315
+     * @return string[]
1316 1316
      */
1317 1317
     protected function getLanguageCodesForUpdate(APIContentUpdateStruct $contentUpdateStruct, APIContent $content)
1318 1318
     {
@@ -1439,7 +1439,7 @@  discard block
 block discarded – undo
1439 1439
      * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo
1440 1440
      * @param int|null $publicationDate
1441 1441
      *
1442
-     * @return \eZ\Publish\API\Repository\Values\Content\Content
1442
+     * @return LocationCreateStruct
1443 1443
      */
1444 1444
     protected function internalPublishVersion(APIVersionInfo $versionInfo, $publicationDate = null)
1445 1445
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Integration/ContentBase.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -951,7 +951,7 @@  discard block
 block discarded – undo
951 951
      * @param \eZ\Publish\API\Repository\Values\Content\Field[] $fields
952 952
      * @param string $mainLanguageCode
953 953
      *
954
-     * @return array an array of language code strings
954
+     * @return string[] an array of language code strings
955 955
      */
956 956
     protected function getLanguageCodesFromFields(array $fields, $mainLanguageCode)
957 957
     {
@@ -2298,6 +2298,11 @@  discard block
 block discarded – undo
2298 2298
         $this->assertRelations($relations, $contentDraft->contentInfo, $mediaContentInfo);
2299 2299
     }
2300 2300
 
2301
+    /**
2302
+     * @param Relation[] $relations
2303
+     * @param \eZ\Publish\API\Repository\Values\Content\ContentInfo $sourceContentInfo
2304
+     * @param \eZ\Publish\API\Repository\Values\Content\ContentInfo $destinationContentInfo
2305
+     */
2301 2306
     protected function assertRelations($relations, $sourceContentInfo, $destinationContentInfo)
2302 2307
     {
2303 2308
         self::assertInternalType('array', $relations);
Please login to merge, or discard this patch.