@@ -309,7 +309,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |