Completed
Push — spi_getname_change ( 9b3757...5d4921 )
by André
23:58
created
eZ/Bundle/EzPublishRestBundle/Tests/Functional/RoleTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,6 +119,7 @@  discard block
 block discarded – undo
119 119
      * @depends testCreateRole
120 120
      * @covers POST /user/roles/{roleId}
121 121
      *
122
+     * @param string $roleHref
122 123
      * @return string The created role draft href
123 124
      */
124 125
     public function testCreateRoleDraft($roleHref)
@@ -412,7 +413,6 @@  discard block
 block discarded – undo
412 413
     /**
413 414
      * @covers       POST /user/users/{userId}/roles
414 415
      *
415
-     * @param string $roleHref
416 416
      * @param array $limitation
417 417
      *
418 418
      * @return string assigned role href
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 namespace eZ\Bundle\EzPublishRestBundle\Tests\Functional;
12 12
 
13 13
 use eZ\Bundle\EzPublishRestBundle\Tests\Functional\TestCase as RESTFunctionalTestCase;
14
-use eZ\Publish\API\Repository\Values\User\Limitation;
15 14
 
16 15
 class RoleTest extends RESTFunctionalTestCase
17 16
 {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Controller/Role.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -456,7 +456,7 @@
 block discarded – undo
456 456
      * This is needed because the RoleService addPolicy() and addPolicyByRoleDraft() methods return the role,
457 457
      * not the policy.
458 458
      *
459
-     * @param $role \eZ\Publish\API\Repository\Values\User\Role
459
+     * @param \eZ\Publish\API\Repository\Values\User\Role $role \eZ\Publish\API\Repository\Values\User\Role
460 460
      *
461 461
      * @return \eZ\Publish\API\Repository\Values\User\Policy
462 462
      */
Please login to merge, or discard this patch.