Completed
Push — ezp26148-percent_symbols_in_va... ( 19c9ce )
by
unknown
34:33
created
Core/Persistence/Legacy/Content/FieldValue/Converter/FloatConverter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      *
29 29
      * @note Class should instead be configured as service if it gains dependencies.
30 30
      *
31
-     * @return Float
31
+     * @return FloatConverter
32 32
      */
33 33
     public static function create()
34 34
     {
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/DoctrineDatabase.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -103,9 +103,9 @@  discard block
 block discarded – undo
103 103
      * Inserts a new content object.
104 104
      *
105 105
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
106
-     * @param mixed $currentVersionNo
106
+     * @param integer $currentVersionNo
107 107
      *
108
-     * @return int ID
108
+     * @return string ID
109 109
      */
110 110
     public function insertContentObject(CreateStruct $struct, $currentVersionNo = 1)
111 111
     {
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
      * @param \eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo
206 206
      * @param \eZ\Publish\SPI\Persistence\Content\Field[] $fields
207 207
      *
208
-     * @return int ID
208
+     * @return string ID
209 209
      */
210 210
     public function insertVersion(VersionInfo $versionInfo, array $fields)
211 211
     {
@@ -599,7 +599,7 @@  discard block
 block discarded – undo
599 599
      * @param \eZ\Publish\SPI\Persistence\Content\Field $field
600 600
      * @param \eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldValue $value
601 601
      *
602
-     * @return int ID
602
+     * @return string ID
603 603
      */
604 604
     public function insertNewField(Content $content, Field $field, StorageFieldValue $value)
605 605
     {
@@ -809,8 +809,8 @@  discard block
 block discarded – undo
809 809
      *
810 810
      * Returns an array with the relevant data.
811 811
      *
812
-     * @param mixed $contentId
813
-     * @param mixed $version
812
+     * @param integer $contentId
813
+     * @param integer $version
814 814
      * @param string[] $translations
815 815
      *
816 816
      * @return array
@@ -979,7 +979,7 @@  discard block
 block discarded – undo
979 979
     /**
980 980
      * Returns all version data for the given $contentId.
981 981
      *
982
-     * @param mixed $contentId
982
+     * @param integer $contentId
983 983
      *
984 984
      * @return string[][]
985 985
      */
@@ -1030,7 +1030,7 @@  discard block
 block discarded – undo
1030 1030
     /**
1031 1031
      * Returns all version numbers for the given $contentId.
1032 1032
      *
1033
-     * @param mixed $contentId
1033
+     * @param integer $contentId
1034 1034
      *
1035 1035
      * @return int[]
1036 1036
      */
@@ -1668,7 +1668,7 @@  discard block
 block discarded – undo
1668 1668
      *
1669 1669
      * @param \eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct $createStruct
1670 1670
      *
1671
-     * @return int ID the inserted ID
1671
+     * @return string ID the inserted ID
1672 1672
      */
1673 1673
     public function insertRelation(RelationCreateStruct $createStruct)
1674 1674
     {
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/Handler.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      * Will contain always a complete list of fields.
143 143
      *
144 144
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct Content creation struct.
145
-     * @param mixed $versionNo Used by self::copy() to maintain version numbers
145
+     * @param integer $versionNo Used by self::copy() to maintain version numbers
146 146
      *
147 147
      * @return \eZ\Publish\SPI\Persistence\Content Content value object
148 148
      */
@@ -240,9 +240,9 @@  discard block
 block discarded – undo
240 240
      * also be an entry in the `eznode_assignment` created for the draft. This
241 241
      * is ignored in this implementation.
242 242
      *
243
-     * @param mixed $contentId
244
-     * @param mixed $srcVersion
245
-     * @param mixed $userId
243
+     * @param integer $contentId
244
+     * @param integer $srcVersion
245
+     * @param integer $userId
246 246
      *
247 247
      * @return \eZ\Publish\SPI\Persistence\Content
248 248
      */
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
     /**
345 345
      * Returns the metadata object for a content identified by $remoteId.
346 346
      *
347
-     * @param mixed $remoteId
347
+     * @param string $remoteId
348 348
      *
349 349
      * @return \eZ\Publish\SPI\Persistence\Content\ContentInfo
350 350
      */
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
      *
361 361
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If version is not found
362 362
      *
363
-     * @param int|string $contentId
363
+     * @param integer $contentId
364 364
      * @param int $versionNo Version number to load
365 365
      *
366 366
      * @return \eZ\Publish\SPI\Persistence\Content\VersionInfo
@@ -512,7 +512,7 @@  discard block
 block discarded – undo
512 512
      *
513 513
      * @param int $contentId
514 514
      *
515
-     * @return bool
515
+     * @return boolean|null
516 516
      */
517 517
     public function deleteContent($contentId)
518 518
     {
@@ -544,7 +544,7 @@  discard block
 block discarded – undo
544 544
      * @param int $contentId
545 545
      * @param int $versionNo
546 546
      *
547
-     * @return bool
547
+     * @return boolean|null
548 548
      */
549 549
     public function deleteVersion($contentId, $versionNo)
550 550
     {
@@ -657,7 +657,7 @@  discard block
 block discarded – undo
657 657
      *
658 658
      * @todo Should the existence verifications happen here or is this supposed to be handled at a higher level?
659 659
      *
660
-     * @param mixed $relationId
660
+     * @param integer $relationId
661 661
      * @param int $type {@see \eZ\Publish\API\Repository\Values\Content\Relation::COMMON,
662 662
      *                 \eZ\Publish\API\Repository\Values\Content\Relation::EMBED,
663 663
      *                 \eZ\Publish\API\Repository\Values\Content\Relation::LINK,
@@ -671,7 +671,7 @@  discard block
 block discarded – undo
671 671
     /**
672 672
      * Loads relations from $sourceContentId. Optionally, loads only those with $type and $sourceContentVersionNo.
673 673
      *
674
-     * @param mixed $sourceContentId Source Content ID
674
+     * @param integer $sourceContentId Source Content ID
675 675
      * @param mixed|null $sourceContentVersionNo Source Content Version, null if not specified
676 676
      * @param int|null $type {@see \eZ\Publish\API\Repository\Values\Content\Relation::COMMON,
677 677
      *                 \eZ\Publish\API\Repository\Values\Content\Relation::EMBED,
@@ -692,7 +692,7 @@  discard block
 block discarded – undo
692 692
      *
693 693
      * Only loads relations against published versions.
694 694
      *
695
-     * @param mixed $destinationContentId Destination Content ID
695
+     * @param integer $destinationContentId Destination Content ID
696 696
      * @param int|null $type {@see \eZ\Publish\API\Repository\Values\Content\Relation::COMMON,
697 697
      *                 \eZ\Publish\API\Repository\Values\Content\Relation::EMBED,
698 698
      *                 \eZ\Publish\API\Repository\Values\Content\Relation::LINK,
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/Location/Handler.php 1 patch
Doc Comments   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -210,8 +210,8 @@  discard block
 block discarded – undo
210 210
      *
211 211
      * @todo update subtree modification time, optionally retain dates and set creator
212 212
      *
213
-     * @param mixed $sourceId
214
-     * @param mixed $destinationParentId
213
+     * @param integer $sourceId
214
+     * @param integer $destinationParentId
215 215
      *
216 216
      * @return Location the newly created Location.
217 217
      */
@@ -331,10 +331,10 @@  discard block
 block discarded – undo
331 331
      * destination, identified by $destinationParentId. Relations do not need
332 332
      * to be updated, since they refer to Content. URLs are not touched.
333 333
      *
334
-     * @param mixed $sourceId
335
-     * @param mixed $destinationParentId
334
+     * @param integer $sourceId
335
+     * @param integer $destinationParentId
336 336
      *
337
-     * @return bool
337
+     * @return boolean|null
338 338
      */
339 339
     public function move($sourceId, $destinationParentId)
340 340
     {
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
     /**
374 374
      * Sets a location to be hidden, and it self + all children to invisible.
375 375
      *
376
-     * @param mixed $id Location ID
376
+     * @param integer $id Location ID
377 377
      */
378 378
     public function hide($id)
379 379
     {
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
      * Sets a location to be unhidden, and self + children to visible unless a parent is hiding the tree.
387 387
      * If not make sure only children down to first hidden node is marked visible.
388 388
      *
389
-     * @param mixed $id
389
+     * @param integer $id
390 390
      */
391 391
     public function unHide($id)
392 392
     {
@@ -401,10 +401,10 @@  discard block
 block discarded – undo
401 401
      * Make the location identified by $locationId1 refer to the Content
402 402
      * referred to by $locationId2 and vice versa.
403 403
      *
404
-     * @param mixed $locationId1
405
-     * @param mixed $locationId2
404
+     * @param integer $locationId1
405
+     * @param integer $locationId2
406 406
      *
407
-     * @return bool
407
+     * @return boolean|null
408 408
      */
409 409
     public function swap($locationId1, $locationId2)
410 410
     {
@@ -451,9 +451,9 @@  discard block
 block discarded – undo
451 451
      * main Location will get the first of its other Locations assigned as the
452 452
      * new main Location.
453 453
      *
454
-     * @param mixed $locationId
454
+     * @param integer $locationId
455 455
      *
456
-     * @return bool
456
+     * @return boolean|null
457 457
      */
458 458
     public function removeSubtree($locationId)
459 459
     {
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
      * Set section on all content objects in the subtree.
465 465
      *
466 466
      * @param mixed $locationId
467
-     * @param mixed $sectionId
467
+     * @param integer $sectionId
468 468
      */
469 469
     public function setSectionForSubtree($locationId, $sectionId)
470 470
     {
Please login to merge, or discard this patch.