Completed
Push — symfony5 ( 430b04...3f74ea )
by
unknown
12:52
created
eZ/Publish/Core/Persistence/Legacy/Content/Handler.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      * Will contain always a complete list of fields.
151 151
      *
152 152
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct Content creation struct.
153
-     * @param mixed $versionNo Used by self::copy() to maintain version numbers
153
+     * @param integer $versionNo Used by self::copy() to maintain version numbers
154 154
      *
155 155
      * @return \eZ\Publish\SPI\Persistence\Content Content value object
156 156
      */
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
     /**
438 438
      * Returns the metadata object for a content identified by $remoteId.
439 439
      *
440
-     * @param mixed $remoteId
440
+     * @param string $remoteId
441 441
      *
442 442
      * @return \eZ\Publish\SPI\Persistence\Content\ContentInfo
443 443
      */
@@ -634,7 +634,7 @@  discard block
 block discarded – undo
634 634
      *
635 635
      * @param int $contentId
636 636
      *
637
-     * @return bool
637
+     * @return boolean|null
638 638
      */
639 639
     public function deleteContent($contentId)
640 640
     {
@@ -666,7 +666,7 @@  discard block
 block discarded – undo
666 666
      * @param int $contentId
667 667
      * @param int $versionNo
668 668
      *
669
-     * @return bool
669
+     * @return boolean|null
670 670
      */
671 671
     public function deleteVersion($contentId, $versionNo)
672 672
     {
@@ -704,8 +704,8 @@  discard block
 block discarded – undo
704 704
      *
705 705
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If content or version is not found
706 706
      *
707
-     * @param mixed $contentId
708
-     * @param mixed|null $versionNo Copy all versions if left null
707
+     * @param integer $contentId
708
+     * @param integer $versionNo Copy all versions if left null
709 709
      * @param int|null $newOwnerId
710 710
      *
711 711
      * @return \eZ\Publish\SPI\Persistence\Content
@@ -793,7 +793,7 @@  discard block
 block discarded – undo
793 793
      *
794 794
      * @todo Should the existence verifications happen here or is this supposed to be handled at a higher level?
795 795
      *
796
-     * @param mixed $relationId
796
+     * @param integer $relationId
797 797
      * @param int $type {@see \eZ\Publish\API\Repository\Values\Content\Relation::COMMON,
798 798
      *                 \eZ\Publish\API\Repository\Values\Content\Relation::EMBED,
799 799
      *                 \eZ\Publish\API\Repository\Values\Content\Relation::LINK,
@@ -807,7 +807,7 @@  discard block
 block discarded – undo
807 807
     /**
808 808
      * Loads relations from $sourceContentId. Optionally, loads only those with $type and $sourceContentVersionNo.
809 809
      *
810
-     * @param mixed $sourceContentId Source Content ID
810
+     * @param integer $sourceContentId Source Content ID
811 811
      * @param mixed|null $sourceContentVersionNo Source Content Version, null if not specified
812 812
      * @param int|null $type {@see \eZ\Publish\API\Repository\Values\Content\Relation::COMMON,
813 813
      *                 \eZ\Publish\API\Repository\Values\Content\Relation::EMBED,
@@ -836,7 +836,7 @@  discard block
 block discarded – undo
836 836
      *
837 837
      * Only loads relations against published versions.
838 838
      *
839
-     * @param mixed $destinationContentId Destination Content ID
839
+     * @param integer $destinationContentId Destination Content ID
840 840
      * @param int|null $type {@see \eZ\Publish\API\Repository\Values\Content\Relation::COMMON,
841 841
      *                 \eZ\Publish\API\Repository\Values\Content\Relation::EMBED,
842 842
      *                 \eZ\Publish\API\Repository\Values\Content\Relation::LINK,
Please login to merge, or discard this patch.
Publish/Core/Search/Legacy/Content/WordIndexer/Repository/SearchIndex.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -127,18 +127,18 @@
 block discarded – undo
127 127
      * Link word with specific content object (legacy db table: ezsearch_object_word_link).
128 128
      *
129 129
      * @param $wordId
130
-     * @param $contentId
131
-     * @param $frequency
132
-     * @param $placement
130
+     * @param integer $contentId
131
+     * @param integer $frequency
132
+     * @param integer $placement
133 133
      * @param $nextWordId
134 134
      * @param $prevWordId
135
-     * @param $contentTypeId
135
+     * @param integer $contentTypeId
136 136
      * @param $fieldTypeId
137
-     * @param $published
138
-     * @param $sectionId
137
+     * @param integer $published
138
+     * @param integer $sectionId
139 139
      * @param $identifier
140 140
      * @param $integerValue
141
-     * @param $languageMask
141
+     * @param integer $languageMask
142 142
      */
143 143
     public function addObjectWordLink($wordId,
144 144
                                       $contentId,
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@
 block discarded – undo
332 332
     }
333 333
 
334 334
     /**
335
-     * @param mixed $locationId
335
+     * @param integer $locationId
336 336
      * @param bool $count
337 337
      *
338 338
      * @return \Doctrine\DBAL\Driver\Statement
Please login to merge, or discard this patch.
MVC/Symfony/EventListener/Tests/ContentViewTwigVariablesSubscriberTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 final class ContentViewTwigVariablesSubscriberTest extends TestCase
24 24
 {
25 25
     /**
26
-     * @return \eZ\Publish\Core\MVC\Symfony\View\ContentView|\PHPUnit\Framework\MockObject\MockObject
26
+     * @return View
27 27
      */
28 28
     private function getContentViewMock(): ContentView
29 29
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/BinaryBase/BinaryBaseStorage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * Removes the old file referenced by $fieldId in $versionNo, if not
119 119
      * referenced else where.
120 120
      *
121
-     * @param mixed $fieldId
121
+     * @param integer $fieldId
122 122
      * @param string $versionNo
123 123
      * @param array $context
124 124
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/Language/CachingHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Get language by id.
75 75
      *
76
-     * @param mixed $id
76
+     * @param integer $id
77 77
      *
78 78
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If language could not be found by $id
79 79
      *
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
     /**
180 180
      * Delete a language.
181 181
      *
182
-     * @param mixed $id
182
+     * @param integer $id
183 183
      */
184 184
     public function delete($id)
185 185
     {
Please login to merge, or discard this patch.
Legacy/Tests/Content/Type/ContentUpdater/Action/RemoveFieldTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
     /**
285 285
      * Returns a Content Gateway mock.
286 286
      *
287
-     * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Gateway
287
+     * @return Gateway
288 288
      */
289 289
     protected function getContentGatewayMock()
290 290
     {
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
     /**
299 299
      * Returns a Content StorageHandler mock.
300 300
      *
301
-     * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler
301
+     * @return StorageHandler
302 302
      */
303 303
     protected function getContentStorageHandlerMock()
304 304
     {
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
     /**
313 313
      * Returns a Content mapper mock.
314 314
      *
315
-     * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Mapper
315
+     * @return ContentMapper
316 316
      */
317 317
     protected function getContentMapperMock()
318 318
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/User/Handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -538,7 +538,7 @@
 block discarded – undo
538 538
      * are an array of limitation values. The limitation parameter is optional.
539 539
      *
540 540
      * @param mixed $contentId The groupId or userId to assign the role to.
541
-     * @param mixed $roleId
541
+     * @param integer|null $roleId
542 542
      * @param array $limitation
543 543
      */
544 544
     public function assignRole($contentId, $roleId, array $limitation = null)
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/UrlAlias/Handler.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException
310 310
      * @throws \eZ\Publish\API\Repository\Exceptions\ForbiddenException
311 311
      *
312
-     * @param mixed $locationId
312
+     * @param integer $locationId
313 313
      * @param string $path
314 314
      * @param bool $forwarding
315 315
      * @param string $languageCode
@@ -466,7 +466,7 @@  discard block
 block discarded – undo
466 466
      * @param string $text
467 467
      * @param string $textMD5
468 468
      *
469
-     * @return mixed
469
+     * @return integer
470 470
      */
471 471
     protected function insertNopEntry($parentId, $text, $textMD5)
472 472
     {
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
      *
487 487
      * @throws \eZ\Publish\API\Repository\Exceptions\BadStateException
488 488
      *
489
-     * @param mixed $locationId
489
+     * @param integer $locationId
490 490
      * @param bool $custom if true the user generated aliases are listed otherwise the autogenerated
491 491
      *
492 492
      * @return \eZ\Publish\SPI\Persistence\Content\UrlAlias[]
@@ -622,9 +622,9 @@  discard block
 block discarded – undo
622 622
      *
623 623
      * This method triggers the change of the autogenerated aliases.
624 624
      *
625
-     * @param mixed $locationId
626
-     * @param mixed $oldParentId
627
-     * @param mixed $newParentId
625
+     * @param integer $locationId
626
+     * @param integer $oldParentId
627
+     * @param integer $newParentId
628 628
      */
629 629
     public function locationMoved($locationId, $oldParentId, $newParentId)
630 630
     {
@@ -652,9 +652,9 @@  discard block
 block discarded – undo
652 652
      *
653 653
      * This method triggers the creation of the autogenerated aliases for the copied locations
654 654
      *
655
-     * @param mixed $locationId
656
-     * @param mixed $newLocationId
657
-     * @param mixed $newParentId
655
+     * @param integer $locationId
656
+     * @param integer $newLocationId
657
+     * @param integer $newParentId
658 658
      */
659 659
     public function locationCopied($locationId, $newLocationId, $newParentId)
660 660
     {
@@ -983,7 +983,7 @@  discard block
 block discarded – undo
983 983
     /**
984 984
      * Notifies the underlying engine that a location was deleted or moved to trash.
985 985
      *
986
-     * @param mixed $locationId
986
+     * @param integer $locationId
987 987
      */
988 988
     public function locationDeleted($locationId)
989 989
     {
Please login to merge, or discard this patch.