Completed
Push — 6.7 ( 868df1...fb8957 )
by André
16:38
created
eZ/Publish/Core/Persistence/Legacy/Content/FieldHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
     /**
417 417
      * For given $languageIds returns array with language codes as keys.
418 418
      *
419
-     * @param array $languageIds
419
+     * @param integer[] $languageIds
420 420
      *
421 421
      * @return array
422 422
      */
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
      * @param \eZ\Publish\SPI\Persistence\Content\Field[] $fields
437 437
      * @param array $languageCodes
438 438
      *
439
-     * @return \eZ\Publish\SPI\Persistence\Content\Field[][]
439
+     * @return Content
440 440
      */
441 441
     protected function getFieldMap(array $fields, &$languageCodes = null)
442 442
     {
Please login to merge, or discard this patch.
Core/Persistence/Legacy/Content/FieldValue/Converter/MediaConverter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
      * "sort_key_int" or "sort_key_string". This column is then used for
68 68
      * filtering and sorting for this type.
69 69
      *
70
-     * @return string
70
+     * @return boolean
71 71
      */
72 72
     public function getIndexColumn()
73 73
     {
Please login to merge, or discard this patch.
Persistence/Legacy/Content/FieldValue/Converter/RelationListConverter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
      * "sort_key_int" or "sort_key_string". This column is then used for
233 233
      * filtering and sorting for this type.
234 234
      *
235
-     * @return bool
235
+     * @return string
236 236
      */
237 237
     public function getIndexColumn()
238 238
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/Gateway.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      * Inserts a new content object.
35 35
      *
36 36
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
37
-     * @param mixed $currentVersionNo
37
+     * @param integer $currentVersionNo
38 38
      *
39 39
      * @return int ID
40 40
      */
@@ -331,8 +331,6 @@  discard block
 block discarded – undo
331 331
      * Loads data of related to/from $contentId.
332 332
      *
333 333
      * @param int $contentId
334
-     * @param bool $reverse Reverse relation, default false
335
-     * @param int $contentVersionNo
336 334
      * @param int $relationType
337 335
      *
338 336
      * @return mixed[][] Content data, array structured like {@see \eZ\Publish\Core\Persistence\Legacy\Content\Gateway::load()}
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/Gateway/ExceptionConversion.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      * Inserts a new content object.
66 66
      *
67 67
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
68
-     * @param mixed $currentVersionNo
68
+     * @param integer $currentVersionNo
69 69
      *
70 70
      * @return int ID
71 71
      */
@@ -618,8 +618,6 @@  discard block
 block discarded – undo
618 618
      * Loads data of related to/from $contentId.
619 619
      *
620 620
      * @param int $contentId
621
-     * @param bool $reverse Reverse relation, default false
622
-     * @param int $contentVersionNo
623 621
      * @param int $relationType
624 622
      *
625 623
      * @return mixed[][] Content data, array structured like {@see \eZ\Publish\Core\Persistence\Legacy\Content\Gateway::load()}
@@ -658,7 +656,6 @@  discard block
 block discarded – undo
658 656
     /**
659 657
      * Inserts a new relation database record.
660 658
      *
661
-     * @param \eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct $createStruct
662 659
      *
663 660
      * @return int ID the inserted ID
664 661
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/Language/CachingHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
     /**
141 141
      * Delete a language.
142 142
      *
143
-     * @param mixed $id
143
+     * @param integer $id
144 144
      */
145 145
     public function delete($id)
146 146
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * Creates a Content from the given $struct and $currentVersionNo.
59 59
      *
60 60
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
61
-     * @param mixed $currentVersionNo
61
+     * @param integer $currentVersionNo
62 62
      *
63 63
      * @return \eZ\Publish\SPI\Persistence\Content\ContentInfo
64 64
      */
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * Creates a new version for the given $struct and $versionNo.
90 90
      *
91 91
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
92
-     * @param mixed $versionNo
92
+     * @param integer $versionNo
93 93
      *
94 94
      * @return \eZ\Publish\SPI\Persistence\Content\VersionInfo
95 95
      */
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      * Creates a new version for the given $content.
124 124
      *
125 125
      * @param \eZ\Publish\SPI\Persistence\Content $content
126
-     * @param mixed $versionNo
126
+     * @param integer $versionNo
127 127
      * @param mixed $userId
128 128
      *
129 129
      * @return \eZ\Publish\SPI\Persistence\Content\VersionInfo
Please login to merge, or discard this patch.
Core/Persistence/Legacy/Content/ObjectState/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * Loads data for an object state.
52 52
      *
53
-     * @param mixed $stateId
53
+     * @param integer $stateId
54 54
      *
55 55
      * @return array
56 56
      */
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * Loads data for an object state by identifier.
75 75
      *
76 76
      * @param string $identifier
77
-     * @param mixed $groupId
77
+     * @param integer $groupId
78 78
      *
79 79
      * @return array
80 80
      */
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     /**
104 104
      * Loads data for all object states belonging to group with $groupId ID.
105 105
      *
106
-     * @param mixed $groupId
106
+     * @param integer $groupId
107 107
      *
108 108
      * @return array
109 109
      */
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     /**
132 132
      * Loads data for an object state group.
133 133
      *
134
-     * @param mixed $groupId
134
+     * @param integer $groupId
135 135
      *
136 136
      * @return array
137 137
      */
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
     /**
456 456
      * Deletes the object state group identified by $groupId.
457 457
      *
458
-     * @param mixed $groupId
458
+     * @param integer $groupId
459 459
      */
460 460
     public function deleteObjectStateGroup($groupId)
461 461
     {
@@ -477,9 +477,9 @@  discard block
 block discarded – undo
477 477
     /**
478 478
      * Sets the object state $stateId to content with $contentId ID.
479 479
      *
480
-     * @param mixed $contentId
481
-     * @param mixed $groupId
482
-     * @param mixed $stateId
480
+     * @param integer $contentId
481
+     * @param integer $groupId
482
+     * @param integer $stateId
483 483
      */
484 484
     public function setContentState($contentId, $groupId, $stateId)
485 485
     {
@@ -591,7 +591,7 @@  discard block
 block discarded – undo
591 591
     /**
592 592
      * Returns the number of objects which are in this state.
593 593
      *
594
-     * @param mixed $stateId
594
+     * @param integer $stateId
595 595
      *
596 596
      * @return int
597 597
      */
@@ -620,7 +620,7 @@  discard block
 block discarded – undo
620 620
     /**
621 621
      * Updates the object state priority to provided value.
622 622
      *
623
-     * @param mixed $stateId
623
+     * @param integer $stateId
624 624
      * @param int $priority
625 625
      */
626 626
     public function updateObjectStatePriority($stateId, $priority)
@@ -823,7 +823,7 @@  discard block
 block discarded – undo
823 823
      * Generates language mask from provided language codes
824 824
      * Also sets always available bit.
825 825
      *
826
-     * @param array $languageCodes
826
+     * @param string[] $languageCodes
827 827
      *
828 828
      * @return int
829 829
      */
Please login to merge, or discard this patch.
Core/Persistence/Legacy/Content/Section/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * @param string $name
42 42
      * @param string $identifier
43 43
      *
44
-     * @return int The ID of the new section
44
+     * @return string The ID of the new section
45 45
      */
46 46
     public function insertSection($name, $identifier)
47 47
     {
Please login to merge, or discard this patch.