@@ -215,7 +215,6 @@ discard block |
||
215 | 215 | * |
216 | 216 | * @param \eZ\Publish\API\Repository\Values\ValueObject $expectedValues |
217 | 217 | * @param \eZ\Publish\API\Repository\Values\ValueObject $actualObject |
218 | - * @param array $propertyNames |
|
219 | 218 | */ |
220 | 219 | protected function assertStructPropertiesCorrect(ValueObject $expectedValues, ValueObject $actualObject, array $additionalProperties = []) |
221 | 220 | { |
@@ -477,7 +476,7 @@ discard block |
||
477 | 476 | /** |
478 | 477 | * Create role of a given name with the given policies described by an array. |
479 | 478 | * |
480 | - * @param $roleName |
|
479 | + * @param string $roleName |
|
481 | 480 | * @param array $policiesData [['module' => 'content', 'function' => 'read', 'limitations' => []] |
482 | 481 | * |
483 | 482 | * @return \eZ\Publish\API\Repository\Values\User\Role |
@@ -476,6 +476,9 @@ |
||
476 | 476 | ]; |
477 | 477 | } |
478 | 478 | |
479 | + /** |
|
480 | + * @param boolean $persistenceCalled |
|
481 | + */ |
|
479 | 482 | protected function assertContentHandlerExpectations($callNo, $persistenceCalled, $contentId, $contentInfo) |
480 | 483 | { |
481 | 484 | $this->getPersistenceMock() |
@@ -19,7 +19,6 @@ |
||
19 | 19 | * Constructor. |
20 | 20 | * |
21 | 21 | * @param \eZ\Publish\Core\Persistence\TransformationProcessor\PcreCompiler $compiler |
22 | - * @param string $installDir Base dir for rule loading |
|
23 | 22 | * @param array $ruleFiles |
24 | 23 | */ |
25 | 24 | public function __construct(PcreCompiler $compiler, array $ruleFiles = []) |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | * |
122 | 122 | * @param mixed[] $expectedValues |
123 | 123 | * @param \eZ\Publish\API\Repository\Values\ValueObject $actualObject |
124 | - * @param array $skipProperties |
|
124 | + * @param string[] $skipProperties |
|
125 | 125 | */ |
126 | 126 | protected function assertPropertiesCorrect(array $expectedValues, ValueObject $actualObject, array $skipProperties = []) |
127 | 127 | { |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | * |
157 | 157 | * @param \eZ\Publish\API\Repository\Values\ValueObject $expectedValues |
158 | 158 | * @param \eZ\Publish\API\Repository\Values\ValueObject $actualObject |
159 | - * @param array $skipProperties |
|
159 | + * @param string[] $skipProperties |
|
160 | 160 | */ |
161 | 161 | protected function assertStructPropertiesCorrect(ValueObject $expectedValues, ValueObject $actualObject, array $skipProperties = []) |
162 | 162 | { |