@@ -90,7 +90,7 @@ |
||
| 90 | 90 | /** |
| 91 | 91 | * @dataProvider indexingProvider |
| 92 | 92 | * |
| 93 | - * @param array|null $value |
|
| 93 | + * @param array|null $values |
|
| 94 | 94 | * @param \Psr\Log\LoggerInterface|\PHPUnit_Framework_MockObject_MockObject|null $logger |
| 95 | 95 | */ |
| 96 | 96 | public function testIndexing(array $values = null, $logger = null) |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | * @dataProvider processPurgeClientProvider |
| 63 | 63 | * |
| 64 | 64 | * @param string $paramValue |
| 65 | - * @param string $expectedServiceAlias |
|
| 65 | + * @param string $expectedServiceId |
|
| 66 | 66 | * @param \Symfony\Component\DependencyInjection\Definition|null $customService |
| 67 | 67 | */ |
| 68 | 68 | public function testProcessPurgeClient($paramValue, $expectedServiceId, Definition $customService = null) |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | /** |
| 110 | 110 | * Get initial field data for valid object creation. |
| 111 | 111 | * |
| 112 | - * @return mixed |
|
| 112 | + * @return TimeValue |
|
| 113 | 113 | */ |
| 114 | 114 | public function getValidCreationFieldData() |
| 115 | 115 | { |
@@ -15,6 +15,9 @@ discard block |
||
| 15 | 15 | */ |
| 16 | 16 | abstract class BaseURLServiceTest extends BaseTest |
| 17 | 17 | { |
| 18 | + /** |
|
| 19 | + * @param integer $exectedTotalCount |
|
| 20 | + */ |
|
| 18 | 21 | protected function doTestFindUrls(URLQuery $query, array $expectedUrls, $exectedTotalCount = null, $ignoreOrder = true) |
| 19 | 22 | { |
| 20 | 23 | $repository = $this->getRepository(); |
@@ -32,6 +35,9 @@ discard block |
||
| 32 | 35 | $this->assertSearchResultItems($searchResult, $expectedUrls, $ignoreOrder); |
| 33 | 36 | } |
| 34 | 37 | |
| 38 | + /** |
|
| 39 | + * @param boolean $ignoreOrder |
|
| 40 | + */ |
|
| 35 | 41 | protected function assertSearchResultItems(SearchResult $searchResult, array $expectedUrls, $ignoreOrder) |
| 36 | 42 | { |
| 37 | 43 | $this->assertCount(count($expectedUrls), $searchResult->items); |
@@ -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 |