Completed
Push — EZP-31287 ( fe8c5c...af9523 )
by
unknown
34:01
created
eZ/Publish/Core/Search/Common/Indexer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Get PDOStatement to fetch metadata about content objects to be indexed.
63 63
      *
64
-     * @param array $fields Select fields
64
+     * @param string[] $fields Select fields
65 65
      *
66 66
      * @return \PDOStatement
67 67
      */
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      * Log warning while progress bar is shown.
102 102
      *
103 103
      * @param \Symfony\Component\Console\Helper\ProgressBar $progress
104
-     * @param $message
104
+     * @param string $message
105 105
      */
106 106
     protected function logWarning(ProgressBar $progress, $message)
107 107
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      * Inserts a new content object.
121 121
      *
122 122
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
123
-     * @param mixed $currentVersionNo
123
+     * @param integer $currentVersionNo
124 124
      *
125 125
      * @return int ID
126 126
      */
@@ -1237,7 +1237,7 @@  discard block
 block discarded – undo
1237 1237
      *
1238 1238
      * Result is returned with oldest version first (using version id as it has index and is auto increment).
1239 1239
      *
1240
-     * @param mixed $contentId
1240
+     * @param integer $contentId
1241 1241
      * @param mixed|null $status Optional argument to filter versions by status, like {@see VersionInfo::STATUS_ARCHIVED}.
1242 1242
      * @param int $limit Limit for items returned, -1 means none.
1243 1243
      *
@@ -1305,7 +1305,7 @@  discard block
 block discarded – undo
1305 1305
     /**
1306 1306
      * Returns all version numbers for the given $contentId.
1307 1307
      *
1308
-     * @param mixed $contentId
1308
+     * @param integer $contentId
1309 1309
      *
1310 1310
      * @return int[]
1311 1311
      */
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
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * Creates a Content from the given $struct and $currentVersionNo.
58 58
      *
59 59
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
60
-     * @param mixed $currentVersionNo
60
+     * @param integer $currentVersionNo
61 61
      *
62 62
      * @return \eZ\Publish\SPI\Persistence\Content\ContentInfo
63 63
      */
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * Creates a new version for the given $struct and $versionNo.
93 93
      *
94 94
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
95
-     * @param mixed $versionNo
95
+     * @param integer $versionNo
96 96
      *
97 97
      * @return \eZ\Publish\SPI\Persistence\Content\VersionInfo
98 98
      */
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      * Creates a new version for the given $content.
126 126
      *
127 127
      * @param \eZ\Publish\SPI\Persistence\Content $content
128
-     * @param mixed $versionNo
128
+     * @param integer $versionNo
129 129
      * @param mixed $userId
130 130
      * @param string|null $languageCode
131 131
      *
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Client/ContentService.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -441,7 +441,6 @@
 block discarded – undo
441 441
      *
442 442
      * @param \eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo
443 443
      * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo
444
-     * @param \eZ\Publish\API\Repository\Values\User\User $user if set given user is used to create the draft - otherwise the current user is used
445 444
      * @param \eZ\Publish\API\Repository\Values\Content\Language|null if not set the draft is created with the initialLanguage code of the source version or if not present with the main language.
446 445
      *
447 446
      * @return \eZ\Publish\API\Repository\Values\Content\Content - the newly created content draft
Please login to merge, or discard this patch.
eZ/Publish/Core/SignalSlot/ContentService.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -441,7 +441,6 @@
 block discarded – undo
441 441
      *
442 442
      * @param \eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo
443 443
      * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo
444
-     * @param \eZ\Publish\API\Repository\Values\User\User $user if set given user is used to create the draft - otherwise the current user is used
445 444
      * @param \eZ\Publish\API\Repository\Values\Content\Language|null if not set the draft is created with the initialLanguage code of the source version or if not present with the main language.
446 445
      *
447 446
      * @return \eZ\Publish\API\Repository\Values\Content\Content - the newly created content draft
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/BaseURLServiceTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@  discard block
 block discarded – undo
20 20
 {
21 21
     private const URL_CONTENT_TYPE_IDENTIFIER = 'link_ct';
22 22
 
23
+    /**
24
+     * @param integer $expectedTotalCount
25
+     */
23 26
     protected function doTestFindUrls(URLQuery $query, array $expectedUrls, $expectedTotalCount = null, $ignoreOrder = true)
24 27
     {
25 28
         $repository = $this->getRepository();
@@ -37,6 +40,9 @@  discard block
 block discarded – undo
37 40
         $this->assertSearchResultItems($searchResult, $expectedUrls, $ignoreOrder);
38 41
     }
39 42
 
43
+    /**
44
+     * @param boolean $ignoreOrder
45
+     */
40 46
     protected function assertSearchResultItems(SearchResult $searchResult, array $expectedUrls, $ignoreOrder)
41 47
     {
42 48
         $this->assertCount(count($expectedUrls), $searchResult->items);
Please login to merge, or discard this patch.
Core/Search/Legacy/Content/Common/Gateway/CriterionHandler/Field.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
      * @param \eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion
128 128
      * @param array $languageSettings
129 129
      *
130
-     * @return \eZ\Publish\Core\Persistence\Database\Expression
130
+     * @return string
131 131
      *
132 132
      * @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException
133 133
      * @throws \eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\Exception\NotFound
Please login to merge, or discard this patch.
Core/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldEmpty.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use eZ\Publish\Core\Persistence\Database\SelectQuery;
18 18
 use eZ\Publish\SPI\Persistence\Content\Type\Handler as ContentTypeHandler;
19 19
 use eZ\Publish\SPI\Persistence\Content\Language\Handler as LanguageHandler;
20
-use eZ\Publish\Core\Persistence\Database\Expression;
21 20
 
22 21
 /**
23 22
  * Field criterion handler.
Please login to merge, or discard this patch.
Publish/Core/Persistence/Legacy/Content/Type/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +16 added lines, -17 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      *
131 131
      * @param \eZ\Publish\SPI\Persistence\Content\Type\Group $group
132 132
      *
133
-     * @return mixed Group ID
133
+     * @return integer Group ID
134 134
      */
135 135
     public function insertGroup(Group $group)
136 136
     {
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
      * @param \eZ\Publish\SPI\Persistence\Content\Type $type
330 330
      * @param mixed|null $typeId
331 331
      *
332
-     * @return mixed Type ID
332
+     * @return integer Type ID
333 333
      */
334 334
     public function insertType(Type $type, $typeId = null)
335 335
     {
@@ -424,8 +424,8 @@  discard block
 block discarded – undo
424 424
     /**
425 425
      * Insert assignment of $typeId to $groupId.
426 426
      *
427
-     * @param mixed $groupId
428
-     * @param mixed $typeId
427
+     * @param integer $groupId
428
+     * @param integer $typeId
429 429
      * @param int $status
430 430
      */
431 431
     public function insertGroupAssignment($groupId, $typeId, $status)
@@ -456,8 +456,8 @@  discard block
 block discarded – undo
456 456
     /**
457 457
      * Deletes a group assignments for a Type.
458 458
      *
459
-     * @param mixed $groupId
460
-     * @param mixed $typeId
459
+     * @param integer $groupId
460
+     * @param integer $typeId
461 461
      * @param int $status
462 462
      */
463 463
     public function deleteGroupAssignment($groupId, $typeId, $status)
@@ -506,7 +506,7 @@  discard block
 block discarded – undo
506 506
     /**
507 507
      * Loads data about Group with $identifier.
508 508
      *
509
-     * @param mixed $identifier
509
+     * @param string $identifier
510 510
      *
511 511
      * @return string[][]
512 512
      */
@@ -565,7 +565,7 @@  discard block
 block discarded – undo
565 565
     /**
566 566
      * Loads data for all Types in $status in $groupId.
567 567
      *
568
-     * @param mixed $groupId
568
+     * @param integer $groupId
569 569
      * @param int $status
570 570
      *
571 571
      * @return string[][]
@@ -586,12 +586,12 @@  discard block
 block discarded – undo
586 586
     /**
587 587
      * Inserts a $fieldDefinition for $typeId.
588 588
      *
589
-     * @param mixed $typeId
589
+     * @param integer $typeId
590 590
      * @param int $status
591 591
      * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition
592 592
      * @param \eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldDefinition $storageFieldDef
593 593
      *
594
-     * @return mixed Field definition ID
594
+     * @return integer Field definition ID
595 595
      */
596 596
     public function insertFieldDefinition(
597 597
         $typeId,
@@ -804,9 +804,9 @@  discard block
 block discarded – undo
804 804
     /**
805 805
      * Deletes a field definition.
806 806
      *
807
-     * @param mixed $typeId
807
+     * @param integer $typeId
808 808
      * @param int $status
809
-     * @param mixed $fieldDefinitionId
809
+     * @param integer $fieldDefinitionId
810 810
      */
811 811
     public function deleteFieldDefinition($typeId, $status, $fieldDefinitionId)
812 812
     {
@@ -847,7 +847,7 @@  discard block
 block discarded – undo
847 847
     /**
848 848
      * Updates a $fieldDefinition for $typeId.
849 849
      *
850
-     * @param mixed $typeId
850
+     * @param integer $typeId
851 851
      * @param int $status
852 852
      * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition
853 853
      * @param \eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldDefinition $storageFieldDef
@@ -990,9 +990,8 @@  discard block
 block discarded – undo
990 990
     /**
991 991
      * Update a type with $updateStruct.
992 992
      *
993
-     * @param mixed $typeId
993
+     * @param integer $typeId
994 994
      * @param int $status
995
-     * @param \eZ\Publish\SPI\Persistence\Content\Type\UpdateStruct $updateStruct
996 995
      */
997 996
     public function updateType($typeId, $status, Type $type)
998 997
     {
@@ -1035,7 +1034,7 @@  discard block
 block discarded – undo
1035 1034
     /**
1036 1035
      * Loads an array with data about $typeId in $status.
1037 1036
      *
1038
-     * @param mixed $typeId
1037
+     * @param integer $typeId
1039 1038
      * @param int $status
1040 1039
      *
1041 1040
      * @return array Data rows.
@@ -1077,7 +1076,7 @@  discard block
 block discarded – undo
1077 1076
      * Loads an array with data about the type referred to by $remoteId in
1078 1077
      * $status.
1079 1078
      *
1080
-     * @param mixed $remoteId
1079
+     * @param string $remoteId
1081 1080
      * @param int $status
1082 1081
      *
1083 1082
      * @return array(int=>array(string=>mixed)) Data rows.
Please login to merge, or discard this patch.