Completed
Push — ezp-24830_REST_for_role_drafts ( a3bc83 )
by
unknown
46:27 queued 18:11
created
eZ/Publish/Core/REST/Client/RoleService.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
      *
310 310
      * @param \eZ\Publish\API\Repository\Values\User\RoleDraft $roleDraft
311 311
      * @param PolicyDraft $policyDraft the policy to remove from the role
312
-     * @return APIRoleDraft if the authenticated user is not allowed to remove a policy
312
+     * @return Role if the authenticated user is not allowed to remove a policy
313 313
      */
314 314
     public function removePolicyByRoleDraft(APIRoleDraft $roleDraft, PolicyDraft $policyDraft)
315 315
     {
@@ -724,7 +724,7 @@  discard block
 block discarded – undo
724 724
      *
725 725
      * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException if the authenticated user is not allowed to read the roles
726 726
      *
727
-     * @return \eZ\Publish\API\Repository\Values\User\Role[]
727
+     * @return \eZ\Publish\API\Repository\Values\ValueObject
728 728
      */
729 729
     public function loadRoles()
730 730
     {
@@ -772,7 +772,7 @@  discard block
 block discarded – undo
772 772
      *
773 773
      * @param mixed $userId
774 774
      *
775
-     * @return \eZ\Publish\API\Repository\Values\User\Policy[]
775
+     * @return \eZ\Publish\API\Repository\Values\ValueObject
776 776
      */
777 777
     public function loadPoliciesByUserId($userId)
778 778
     {
Please login to merge, or discard this patch.