Completed
Push — 7.0 ( 145a1d...51d598 )
by André
14:33
created
eZ/Publish/Core/Persistence/Legacy/Content/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -116,9 +116,9 @@  discard block
 block discarded – undo
116 116
      * Inserts a new content object.
117 117
      *
118 118
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
119
-     * @param mixed $currentVersionNo
119
+     * @param integer $currentVersionNo
120 120
      *
121
-     * @return int ID
121
+     * @return string ID
122 122
      */
123 123
     public function insertContentObject(CreateStruct $struct, $currentVersionNo = 1)
124 124
     {
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
      * @param \eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo
219 219
      * @param \eZ\Publish\SPI\Persistence\Content\Field[] $fields
220 220
      *
221
-     * @return int ID
221
+     * @return string ID
222 222
      */
223 223
     public function insertVersion(VersionInfo $versionInfo, array $fields)
224 224
     {
@@ -612,7 +612,7 @@  discard block
 block discarded – undo
612 612
      * @param \eZ\Publish\SPI\Persistence\Content\Field $field
613 613
      * @param \eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldValue $value
614 614
      *
615
-     * @return int ID
615
+     * @return string ID
616 616
      */
617 617
     public function insertNewField(Content $content, Field $field, StorageFieldValue $value)
618 618
     {
@@ -822,8 +822,8 @@  discard block
 block discarded – undo
822 822
      *
823 823
      * Returns an array with the relevant data.
824 824
      *
825
-     * @param mixed $contentId
826
-     * @param mixed $version
825
+     * @param integer $contentId
826
+     * @param integer $version
827 827
      * @param string[] $translations
828 828
      *
829 829
      * @return array
@@ -995,7 +995,7 @@  discard block
 block discarded – undo
995 995
      *
996 996
      * Result is returned with oldest version first (using version id as it has index and is auto increment).
997 997
      *
998
-     * @param mixed $contentId
998
+     * @param integer $contentId
999 999
      * @param mixed|null $status Optional argument to filter versions by status, like {@see VersionInfo::STATUS_ARCHIVED}.
1000 1000
      * @param int $limit Limit for items returned, -1 means none.
1001 1001
      *
@@ -1063,7 +1063,7 @@  discard block
 block discarded – undo
1063 1063
     /**
1064 1064
      * Returns all version numbers for the given $contentId.
1065 1065
      *
1066
-     * @param mixed $contentId
1066
+     * @param integer $contentId
1067 1067
      *
1068 1068
      * @return int[]
1069 1069
      */
@@ -1701,7 +1701,7 @@  discard block
 block discarded – undo
1701 1701
      *
1702 1702
      * @param \eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct $createStruct
1703 1703
      *
1704
-     * @return int ID the inserted ID
1704
+     * @return string ID the inserted ID
1705 1705
      */
1706 1706
     public function insertRelation(RelationCreateStruct $createStruct)
1707 1707
     {
@@ -1947,8 +1947,8 @@  discard block
 block discarded – undo
1947 1947
     /**
1948 1948
      * Delete translation from the ezcontentobject_name table.
1949 1949
      *
1950
-     * @param $contentId
1951
-     * @param $languageCode
1950
+     * @param integer $contentId
1951
+     * @param string $languageCode
1952 1952
      */
1953 1953
     private function deleteTranslationFromContentNames($contentId, $languageCode)
1954 1954
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/UserServiceTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -2491,6 +2491,11 @@
 block discarded – undo
2491 2491
         return $userService->createUser($userCreateStruct, [$group]);
2492 2492
     }
2493 2493
 
2494
+    /**
2495
+     * @param string $login
2496
+     * @param string $password
2497
+     * @param integer $type
2498
+     */
2494 2499
     private function createHash($login, $password, $type)
2495 2500
     {
2496 2501
         switch ($type) {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/UserService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -492,7 +492,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.