Completed
Push — master ( e57d4d...745b87 )
by André
48:01 queued 32:48
created
eZ/Publish/Core/Repository/Values/User/User.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.
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.
Command/LegacyStorage/CleanUpRelationTypeEqZeroCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -109,6 +109,9 @@
 block discarded – undo
109 109
         $conn->exec('DELETE FROM ezcontentobject_link WHERE relation_type = 0');
110 110
     }
111 111
 
112
+    /**
113
+     * @param integer $totalCount
114
+     */
112 115
     protected function executeList(OutputInterface $output, $totalCount)
113 116
     {
114 117
         $table = new Table($output);
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/FieldType/Tests/FloatValueValidatorTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 class FloatValueValidatorTest extends TestCase
20 20
 {
21 21
     /**
22
-     * @return float
22
+     * @return integer
23 23
      */
24 24
     protected function getMinFloatValue()
25 25
     {
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     }
28 28
 
29 29
     /**
30
-     * @return float
30
+     * @return integer
31 31
      */
32 32
     protected function getMaxFloatValue()
33 33
     {
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.