Completed
Push — ezp-30696 ( 9bb3ad )
by
unknown
17:26
created
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/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.
Core/Persistence/Legacy/Content/UrlWildcard/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @param \eZ\Publish\SPI\Persistence\Content\UrlWildcard $urlWildcard
49 49
      *
50
-     * @return mixed
50
+     * @return string
51 51
      */
52 52
     public function insertUrlWildcard(UrlWildcard $urlWildcard)
53 53
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     /**
92 92
      * Deletes the UrlWildcard with given $id.
93 93
      *
94
-     * @param mixed $id
94
+     * @param integer $id
95 95
      */
96 96
     public function deleteUrlWildcard($id)
97 97
     {
@@ -138,8 +138,8 @@  discard block
 block discarded – undo
138 138
     /**
139 139
      * Loads an array with data about UrlWildcards (paged).
140 140
      *
141
-     * @param mixed $offset
142
-     * @param mixed $limit
141
+     * @param integer $offset
142
+     * @param integer $limit
143 143
      *
144 144
      * @return array
145 145
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Exception/TypeGroupNotFound.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
      * Creates a new exception for $typeId in $status;.
22 22
      *
23 23
      * @param mixed $typeGroupId
24
-     * @param mixed $status
25 24
      */
26 25
     public function __construct($typeGroupId)
27 26
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Tests/Content/LanguageAwareTestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * Returns a language handler mock.
37 37
      *
38
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Language\Handler
38
+     * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler
39 39
      */
40 40
     protected function getLanguageHandler()
41 41
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/User/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * Create user.
41 41
      *
42
-     * @param user $user
42
+     * @param User $user
43 43
      *
44 44
      * @return mixed
45 45
      */
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
     /**
339 339
      * Remove role from user or user group, by assignment ID.
340 340
      *
341
-     * @param mixed $roleAssignmentId
341
+     * @param integer $roleAssignmentId
342 342
      */
343 343
     public function removeRoleAssignmentById($roleAssignmentId)
344 344
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/User/Gateway/ExceptionConversion.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
     /**
42 42
      * Create user.
43 43
      *
44
-     * @param user $user
44
+     * @param User $user
45 45
      *
46 46
      * @return mixed
47 47
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/User/Handler.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
     /**
287 287
      * Loads a role draft by the original role ID.
288 288
      *
289
-     * @param mixed $roleId ID of the role the draft was created from.
289
+     * @param integer $roleId ID of the role the draft was created from.
290 290
      *
291 291
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If role is not found
292 292
      *
@@ -461,7 +461,7 @@  discard block
 block discarded – undo
461 461
     /**
462 462
      * Returns the user policies associated with the user (including inherited policies from user groups).
463 463
      *
464
-     * @param mixed $userId
464
+     * @param integer $userId
465 465
      *
466 466
      * @return \eZ\Publish\SPI\Persistence\User\Policy[]
467 467
      */
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
      *
573 573
      * Role Assignments with same roleId and limitationIdentifier will be merged together into one.
574 574
      *
575
-     * @param mixed $groupId In legacy storage engine this is the content object id roles are assigned to in ezuser_role.
575
+     * @param integer $groupId In legacy storage engine this is the content object id roles are assigned to in ezuser_role.
576 576
      *                      By the nature of legacy this can currently also be used to get by $userId.
577 577
      * @param bool $inherit If true also return inherited role assignments from user groups.
578 578
      *
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/RoleService.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
      *
231 231
      * @param mixed $id
232 232
      *
233
-     * @return \eZ\Publish\API\Repository\Values\User\RoleDraft
233
+     * @return \eZ\Publish\SPI\Persistence\User\Policy
234 234
      */
235 235
     public function loadRoleDraft($id)
236 236
     {
@@ -1396,7 +1396,7 @@  discard block
 block discarded – undo
1396 1396
      *
1397 1397
      * @param \eZ\Publish\API\Repository\Values\User\RoleCreateStruct $roleCreateStruct
1398 1398
      *
1399
-     * @return \eZ\Publish\Core\FieldType\ValidationError[][][]
1399
+     * @return \eZ\Publish\Core\FieldType\ValidationError[]
1400 1400
      */
1401 1401
     protected function validateRoleCreateStruct(APIRoleCreateStruct $roleCreateStruct)
1402 1402
     {
@@ -1426,7 +1426,7 @@  discard block
 block discarded – undo
1426 1426
      * @param string $function
1427 1427
      * @param \eZ\Publish\API\Repository\Values\User\Limitation[] $limitations
1428 1428
      *
1429
-     * @return \eZ\Publish\Core\FieldType\ValidationError[][]
1429
+     * @return \eZ\Publish\Core\FieldType\ValidationError[]
1430 1430
      */
1431 1431
     protected function validatePolicy($module, $function, array $limitations)
1432 1432
     {
Please login to merge, or discard this patch.