@@ -119,6 +119,7 @@ discard block |
||
| 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 |
||
| 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 |
@@ -11,7 +11,6 @@ |
||
| 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 | { |
@@ -456,7 +456,7 @@ |
||
| 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 | */ |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | * Registers an eZ Publish field type. |
| 42 | 42 | * Field types are being registered as a closure so that they will be lazy loaded. |
| 43 | 43 | * |
| 44 | - * @param string $nameableFieldTypeServiceId The field type nameable service Id |
|
| 44 | + * @param string $fieldTypeServiceId The field type nameable service Id |
|
| 45 | 45 | * @param string $fieldTypeAlias The field type alias (e.g. "ezstring") |
| 46 | 46 | */ |
| 47 | 47 | public function registerNonNameableFieldType($fieldTypeServiceId, $fieldTypeAlias) |