Completed
Push — ezp_30981_content_info_proxy ( 65f6d5...4c2a4b )
by
unknown
29:04 queued 14:38
created
eZ/Publish/Core/Persistence/Legacy/User/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -349,7 +349,7 @@
 block discarded – undo
349 349
     /**
350 350
      * Remove role from user or user group, by assignment ID.
351 351
      *
352
-     * @param mixed $roleAssignmentId
352
+     * @param integer $roleAssignmentId
353 353
      */
354 354
     public function removeRoleAssignmentById($roleAssignmentId)
355 355
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/User/Handler.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
     /**
201 201
      * Delete user with the given ID.
202 202
      *
203
-     * @param mixed $userId
203
+     * @param integer $userId
204 204
      *
205 205
      * @throws \eZ\Publish\API\Repository\Exceptions\NotImplementedException
206 206
      */
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
     /**
327 327
      * Loads a role draft by the original role ID.
328 328
      *
329
-     * @param mixed $roleId ID of the role the draft was created from.
329
+     * @param integer $roleId ID of the role the draft was created from.
330 330
      *
331 331
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If role is not found
332 332
      *
@@ -502,7 +502,7 @@  discard block
 block discarded – undo
502 502
     /**
503 503
      * Returns the user policies associated with the user (including inherited policies from user groups).
504 504
      *
505
-     * @param mixed $userId
505
+     * @param integer $userId
506 506
      *
507 507
      * @return \eZ\Publish\SPI\Persistence\User\Policy[]
508 508
      */
@@ -613,7 +613,7 @@  discard block
 block discarded – undo
613 613
      *
614 614
      * Role Assignments with same roleId and limitationIdentifier will be merged together into one.
615 615
      *
616
-     * @param mixed $groupId In legacy storage engine this is the content object id roles are assigned to in ezuser_role.
616
+     * @param integer $groupId In legacy storage engine this is the content object id roles are assigned to in ezuser_role.
617 617
      *                      By the nature of legacy this can currently also be used to get by $userId.
618 618
      * @param bool $inherit If true also return inherited role assignments from user groups.
619 619
      *
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Doctrine/ConnectionHandler.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     /**
70 70
      * Create a Connection Handler with corresponding Doctrine connection from DSN.
71 71
      *
72
-     * @param string|array $dsn
72
+     * @param string $dsn
73 73
      *
74 74
      * @return ConnectionHandler
75 75
      */
@@ -460,8 +460,9 @@  discard block
 block discarded – undo
460 460
      *
461 461
      * This is an optimization and works around the ezcDB implementation.
462 462
      *
463
-     * @param string $identifier
464 463
      *
464
+     * @param string $name
465
+     * @param string $alias
465 466
      * @return string
466 467
      */
467 468
     public function alias($name, $alias)
@@ -496,7 +497,7 @@  discard block
 block discarded – undo
496 497
      * @param string $table
497 498
      * @param string $column
498 499
      *
499
-     * @return mixed
500
+     * @return string
500 501
      */
501 502
     public function getAutoIncrementValue($table, $column)
502 503
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/Gateway/ExceptionConversion.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      * Inserts a new content object.
64 64
      *
65 65
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
66
-     * @param mixed $currentVersionNo
66
+     * @param integer $currentVersionNo
67 67
      *
68 68
      * @return int ID
69 69
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/RoleService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1052,7 +1052,7 @@  discard block
 block discarded – undo
1052 1052
      *
1053 1053
      * @param \eZ\Publish\API\Repository\Values\User\RoleCreateStruct $roleCreateStruct
1054 1054
      *
1055
-     * @return \eZ\Publish\Core\FieldType\ValidationError[][][]
1055
+     * @return \eZ\Publish\Core\FieldType\ValidationError[]
1056 1056
      *
1057 1057
      * @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException
1058 1058
      */
@@ -1084,7 +1084,7 @@  discard block
 block discarded – undo
1084 1084
      * @param string $function
1085 1085
      * @param \eZ\Publish\API\Repository\Values\User\Limitation[] $limitations
1086 1086
      *
1087
-     * @return \eZ\Publish\Core\FieldType\ValidationError[][]
1087
+     * @return \eZ\Publish\Core\FieldType\ValidationError[]
1088 1088
      */
1089 1089
     protected function validatePolicy(string $module, string $function, array $limitations): iterable
1090 1090
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Values/ContentType/ContentTypeDraft.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
     /**
128 128
      * This method returns the content type field definitions from this type.
129 129
      *
130
-     * @return \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[]
130
+     * @return APIFieldDefinitionCollection
131 131
      */
132 132
     public function getFieldDefinitions(): APIFieldDefinitionCollection
133 133
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/TrashService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      *
91 91
      * Note that $id is identical to original location, which has been previously trashed
92 92
      *
93
-     * @param mixed $trashItemId
93
+     * @param integer $trashItemId
94 94
      *
95 95
      * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException if the user is not allowed to read the trashed location
96 96
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException - if the location with the given id does not exist
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/URLService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -260,6 +260,9 @@
 block discarded – undo
260 260
         }
261 261
     }
262 262
 
263
+    /**
264
+     * @param integer $timestamp
265
+     */
263 266
     private function createDateTime(?int $timestamp): ?DateTimeInterface
264 267
     {
265 268
         if ($timestamp > 0) {
Please login to merge, or discard this patch.
Publish/Core/Persistence/Legacy/Content/Type/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +13 added lines, -14 removed lines patch added patch discarded remove patch
@@ -423,8 +423,8 @@  discard block
 block discarded – undo
423 423
     /**
424 424
      * Insert assignment of $typeId to $groupId.
425 425
      *
426
-     * @param mixed $groupId
427
-     * @param mixed $typeId
426
+     * @param integer $groupId
427
+     * @param integer $typeId
428 428
      * @param int $status
429 429
      */
430 430
     public function insertGroupAssignment($groupId, $typeId, $status)
@@ -455,8 +455,8 @@  discard block
 block discarded – undo
455 455
     /**
456 456
      * Deletes a group assignments for a Type.
457 457
      *
458
-     * @param mixed $groupId
459
-     * @param mixed $typeId
458
+     * @param integer $groupId
459
+     * @param integer $typeId
460 460
      * @param int $status
461 461
      */
462 462
     public function deleteGroupAssignment($groupId, $typeId, $status)
@@ -505,7 +505,7 @@  discard block
 block discarded – undo
505 505
     /**
506 506
      * Loads data about Group with $identifier.
507 507
      *
508
-     * @param mixed $identifier
508
+     * @param string $identifier
509 509
      *
510 510
      * @return string[][]
511 511
      */
@@ -564,7 +564,7 @@  discard block
 block discarded – undo
564 564
     /**
565 565
      * Loads data for all Types in $status in $groupId.
566 566
      *
567
-     * @param mixed $groupId
567
+     * @param integer $groupId
568 568
      * @param int $status
569 569
      *
570 570
      * @return string[][]
@@ -585,7 +585,7 @@  discard block
 block discarded – undo
585 585
     /**
586 586
      * Inserts a $fieldDefinition for $typeId.
587 587
      *
588
-     * @param mixed $typeId
588
+     * @param integer $typeId
589 589
      * @param int $status
590 590
      * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition
591 591
      * @param \eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldDefinition $storageFieldDef
@@ -803,9 +803,9 @@  discard block
 block discarded – undo
803 803
     /**
804 804
      * Deletes a field definition.
805 805
      *
806
-     * @param mixed $typeId
806
+     * @param integer $typeId
807 807
      * @param int $status
808
-     * @param mixed $fieldDefinitionId
808
+     * @param integer $fieldDefinitionId
809 809
      */
810 810
     public function deleteFieldDefinition($typeId, $status, $fieldDefinitionId)
811 811
     {
@@ -846,7 +846,7 @@  discard block
 block discarded – undo
846 846
     /**
847 847
      * Updates a $fieldDefinition for $typeId.
848 848
      *
849
-     * @param mixed $typeId
849
+     * @param integer $typeId
850 850
      * @param int $status
851 851
      * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition
852 852
      * @param \eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldDefinition $storageFieldDef
@@ -989,9 +989,8 @@  discard block
 block discarded – undo
989 989
     /**
990 990
      * Update a type with $updateStruct.
991 991
      *
992
-     * @param mixed $typeId
992
+     * @param integer $typeId
993 993
      * @param int $status
994
-     * @param \eZ\Publish\SPI\Persistence\Content\Type\UpdateStruct $updateStruct
995 994
      */
996 995
     public function updateType($typeId, $status, Type $type)
997 996
     {
@@ -1034,7 +1033,7 @@  discard block
 block discarded – undo
1034 1033
     /**
1035 1034
      * Loads an array with data about $typeId in $status.
1036 1035
      *
1037
-     * @param mixed $typeId
1036
+     * @param integer $typeId
1038 1037
      * @param int $status
1039 1038
      *
1040 1039
      * @return array Data rows.
@@ -1076,7 +1075,7 @@  discard block
 block discarded – undo
1076 1075
      * Loads an array with data about the type referred to by $remoteId in
1077 1076
      * $status.
1078 1077
      *
1079
-     * @param mixed $remoteId
1078
+     * @param string $remoteId
1080 1079
      * @param int $status
1081 1080
      *
1082 1081
      * @return array(int=>array(string=>mixed)) Data rows.
Please login to merge, or discard this patch.