@@ -212,7 +212,6 @@ discard block |
||
| 212 | 212 | * |
| 213 | 213 | * @param \eZ\Publish\API\Repository\Values\ValueObject $expectedValues |
| 214 | 214 | * @param \eZ\Publish\API\Repository\Values\ValueObject $actualObject |
| 215 | - * @param array $propertyNames |
|
| 216 | 215 | */ |
| 217 | 216 | protected function assertStructPropertiesCorrect(ValueObject $expectedValues, ValueObject $actualObject, array $additionalProperties = array()) |
| 218 | 217 | { |
@@ -474,7 +473,7 @@ discard block |
||
| 474 | 473 | /** |
| 475 | 474 | * Create role of a given name with the given policies described by an array. |
| 476 | 475 | * |
| 477 | - * @param $roleName |
|
| 476 | + * @param string $roleName |
|
| 478 | 477 | * @param array $policiesData [['module' => 'content', 'function' => 'read', 'limitations' => []] |
| 479 | 478 | * |
| 480 | 479 | * @return \eZ\Publish\API\Repository\Values\User\Role |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | namespace eZ\Publish\API\Repository\Tests; |
| 10 | 10 | |
| 11 | 11 | use eZ\Publish\API\Repository\Exceptions\UnauthorizedException; |
| 12 | -use eZ\Publish\API\Repository\Values\Content\Location; |
|
| 13 | 12 | use eZ\Publish\API\Repository\Values\User\Limitation\ObjectStateLimitation; |
| 14 | 13 | use eZ\Publish\Core\Repository\Repository; |
| 15 | 14 | use eZ\Publish\Core\Repository\TrashService; |