Completed
Push — ezp-24830_REST_for_role_drafts ( 6879a7...588d71 )
by
unknown
113:35 queued 67:39
created
eZ/Publish/Core/REST/Server/Controller/Role.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
      * Publishes a role draft.
270 270
      *
271 271
      * @param mixed $roleId Original role ID, or ID of the role draft itself
272
-     * @return Values\RestRole
272
+     * @return Values\CreatedRole
273 273
      */
274 274
     public function publishRoleDraft($roleId)
275 275
     {
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
      * This is needed because the RoleService addPolicy() and addPolicyByRoleDraft() methods return the role,
449 449
      * not the policy.
450 450
      *
451
-     * @param $role \eZ\Publish\API\Repository\Values\User\Role
451
+     * @param \eZ\Publish\API\Repository\Values\User\Role $role \eZ\Publish\API\Repository\Values\User\Role
452 452
      *
453 453
      * @return \eZ\Publish\API\Repository\Values\User\Policy
454 454
      */
Please login to merge, or discard this patch.