Completed
Push — travis_redis ( 7032a9...0184c5 )
by André
34:42 queued 18:45
created
eZ/Publish/Core/Repository/Values/User/UserGroup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Core/FieldType/MapLocation/MapLocationStorage/Gateway/LegacyStorage.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/Tests/RichText/RichTextStorageTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/Tests/Url/UrlStorageTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
     }
207 207
 
208 208
     /**
209
-     * @return array
209
+     * @return string[]
210 210
      */
211 211
     protected function getContext()
212 212
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/User/UserStorage/Gateway/LegacyStorage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
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.