@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | use eZ\Publish\API\Repository\ContentTypeService as APIContentTypeService; |
| 15 | 15 | use eZ\Publish\API\Repository\LocationService as APILocationService; |
| 16 | 16 | use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException; |
| 17 | -use eZ\Publish\API\Repository\Values\Content\ContentInfo as APIContentInfo; |
|
| 17 | +use eZ\Publish\API\Repository\Values\Content\ContentInfo; |
|
| 18 | 18 | use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType; |
| 19 | 19 | use eZ\Publish\API\Repository\Values\Content\Location as APILocation; |
| 20 | 20 | use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition as APIFieldDefinition; |
@@ -33,7 +33,6 @@ discard block |
||
| 33 | 33 | use eZ\Publish\Core\Repository\Helper\NameSchemaService; |
| 34 | 34 | use eZ\Publish\API\Repository\Values\Content\Field; |
| 35 | 35 | use eZ\Publish\Core\FieldType\Value; |
| 36 | -use eZ\Publish\API\Repository\Values\Content\ContentInfo; |
|
| 37 | 36 | use eZ\Publish\API\Repository\Values\Content\VersionInfo as APIVersionInfo; |
| 38 | 37 | use eZ\Publish\Core\Repository\Values\ContentType\ContentType; |
| 39 | 38 | use eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition; |
@@ -383,7 +383,7 @@ |
||
| 383 | 383 | * @param \eZ\Publish\SPI\Persistence\Content\UrlAlias $urlAlias |
| 384 | 384 | * @param array $tags Optional, can be used to specify other tags. |
| 385 | 385 | * |
| 386 | - * @return array |
|
| 386 | + * @return string[] |
|
| 387 | 387 | */ |
| 388 | 388 | private function getCacheTags(UrlAlias $urlAlias, array $tags = []) |
| 389 | 389 | { |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Doctrine\DBAL\Platforms\AbstractPlatform; |
| 15 | 15 | use Doctrine\DBAL\Schema\Schema; |
| 16 | 16 | use eZ\Publish\Core\Base\ServiceContainer; |
| 17 | -use EzSystems\DoctrineSchema\API\Exception\InvalidConfigurationException; |
|
| 18 | 17 | use EzSystems\DoctrineSchema\Importer\SchemaImporter; |
| 19 | 18 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 20 | 19 | use eZ\Publish\API\Repository\Tests\SetupFactory; |
@@ -83,9 +83,7 @@ discard block |
||
| 83 | 83 | /** |
| 84 | 84 | * Initialize class. |
| 85 | 85 | * |
| 86 | - * @param string $url Base URL for REST calls |
|
| 87 | 86 | * @param string $driver REST Driver to be used |
| 88 | - * @param string $json |
|
| 89 | 87 | */ |
| 90 | 88 | public function __construct( |
| 91 | 89 | UserFacade $userFacade, |
@@ -101,6 +99,9 @@ discard block |
||
| 101 | 99 | $this->setRestDriver($this->driver); |
| 102 | 100 | } |
| 103 | 101 | |
| 102 | + /** |
|
| 103 | + * @param string $url |
|
| 104 | + */ |
|
| 104 | 105 | private function setUrl($url) |
| 105 | 106 | { |
| 106 | 107 | $this->url = $url; |
@@ -177,6 +178,8 @@ discard block |
||
| 177 | 178 | |
| 178 | 179 | /** |
| 179 | 180 | * @When I send a :type request to :resource (url) |
| 181 | + * @param string $type |
|
| 182 | + * @param string $resource |
|
| 180 | 183 | */ |
| 181 | 184 | public function createAndSendRequest($type, $resource) |
| 182 | 185 | { |
@@ -64,6 +64,7 @@ |
||
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | 66 | * @When I create a (new) session with login :login and password :password |
| 67 | + * @param string $login |
|
| 67 | 68 | */ |
| 68 | 69 | public function createSession($login, $password) |
| 69 | 70 | { |
@@ -814,7 +814,6 @@ discard block |
||
| 814 | 814 | * |
| 815 | 815 | * @param string $text Content Item field value text (to be indexed) |
| 816 | 816 | * @param string $searchForText text based on which Content Item should be found |
| 817 | - * @param array $ignoreForSetupFactories list of SetupFactories to be ignored |
|
| 818 | 817 | * @dataProvider getSpecialFullTextCases |
| 819 | 818 | */ |
| 820 | 819 | public function testIndexingSpecialFullTextCases($text, $searchForText) |
@@ -1184,8 +1183,8 @@ discard block |
||
| 1184 | 1183 | * $parentLocationIdList. |
| 1185 | 1184 | * |
| 1186 | 1185 | * @param string $contentName |
| 1187 | - * @param $contentDescription |
|
| 1188 | - * @param array $parentLocationIdList |
|
| 1186 | + * @param string $contentDescription |
|
| 1187 | + * @param integer[] $parentLocationIdList |
|
| 1189 | 1188 | * |
| 1190 | 1189 | * @return \eZ\Publish\API\Repository\Values\Content\Content |
| 1191 | 1190 | */ |