@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | * |
| 213 | 213 | * @param string $name |
| 214 | 214 | * |
| 215 | - * @return \eZ\Publish\SPI\FieldType\ValidationError|null |
|
| 215 | + * @return ValidationError|null |
|
| 216 | 216 | */ |
| 217 | 217 | private function validateSettingName($name) |
| 218 | 218 | { |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | * @param string $name |
| 237 | 237 | * @param string $value |
| 238 | 238 | * |
| 239 | - * @return \eZ\Publish\SPI\FieldType\ValidationError|null |
|
| 239 | + * @return ValidationError|null |
|
| 240 | 240 | */ |
| 241 | 241 | private function validateDefaultAuthorSetting($name, $value) |
| 242 | 242 | { |
@@ -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; |
@@ -15,11 +15,10 @@ |
||
| 15 | 15 | use eZ\Publish\Core\Repository\Tests\Service\Mock\Base as BaseServiceMockTest; |
| 16 | 16 | use eZ\Publish\Core\Repository\Helper\DomainMapper; |
| 17 | 17 | use eZ\Publish\Core\Repository\Values\Content\Content; |
| 18 | -use eZ\Publish\SPI\Persistence\Content\ContentInfo; |
|
| 18 | +use eZ\Publish\SPI\Persistence\Content\ContentInfo as SPIContentInfo; |
|
| 19 | 19 | use eZ\Publish\SPI\Persistence\Content\Location; |
| 20 | 20 | use eZ\Publish\API\Repository\Values\Content\Location as APILocation; |
| 21 | 21 | use eZ\Publish\SPI\Persistence\Content\VersionInfo as SPIVersionInfo; |
| 22 | -use eZ\Publish\SPI\Persistence\Content\ContentInfo as SPIContentInfo; |
|
| 23 | 22 | |
| 24 | 23 | /** |
| 25 | 24 | * Mock test case for internal DomainMapper. |
@@ -104,6 +104,9 @@ |
||
| 104 | 104 | $this->it['siteaccess'] = $this->scriptOutput; |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | + /** |
|
| 108 | + * @param string $command |
|
| 109 | + */ |
|
| 107 | 110 | private function iRunTheCommand($command, $siteaccess = null) |
| 108 | 111 | { |
| 109 | 112 | $phpFinder = new PhpExecutableFinder(); |
@@ -159,7 +159,7 @@ |
||
| 159 | 159 | /** |
| 160 | 160 | * Applies the given SQL $statements to the database in use. |
| 161 | 161 | * |
| 162 | - * @param array $statements |
|
| 162 | + * @param string[] $statements |
|
| 163 | 163 | */ |
| 164 | 164 | protected function applyStatements(array $statements) |
| 165 | 165 | { |
@@ -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 | */ |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | * @param string $identifier content type identifier |
| 128 | 128 | * @param bool $throwIfNotFound if true, throws an exception if it is not found. |
| 129 | 129 | * |
| 130 | - * @return \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup|null |
|
| 130 | + * @return \eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
| 131 | 131 | */ |
| 132 | 132 | protected function loadContentTypeByIdentifier($identifier, $throwIfNotFound = true) |
| 133 | 133 | { |
@@ -151,9 +151,9 @@ discard block |
||
| 151 | 151 | * |
| 152 | 152 | * @param string $groupIdentifier content type group identifier |
| 153 | 153 | * @param string $identifier content type identifier |
| 154 | - * @param array $fields content type fields definitions |
|
| 154 | + * @param TableNode $fields content type fields definitions |
|
| 155 | 155 | * |
| 156 | - * @return eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
| 156 | + * @return \eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
| 157 | 157 | */ |
| 158 | 158 | public function createContentType($groupIdentifier, $identifier, $fields) |
| 159 | 159 | { |
@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | /** |
| 202 | 202 | * Remove the given 'ContentType' object. |
| 203 | 203 | * |
| 204 | - * @param eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType |
|
| 204 | + * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType |
|
| 205 | 205 | */ |
| 206 | 206 | protected function removeContentType($contentType) |
| 207 | 207 | { |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | |
| 11 | 11 | use Exception; |
| 12 | 12 | use eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway as LocationGateway; |
| 13 | -use eZ\Publish\SPI\Persistence\Content\Field; |
|
| 14 | 13 | use eZ\Publish\SPI\Persistence\Content\Handler as BaseContentHandler; |
| 15 | 14 | use eZ\Publish\SPI\Persistence\Content\Type\Handler as ContentTypeHandler; |
| 16 | 15 | use eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter; |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use eZ\Publish\API\Repository\Repository as RepositoryInterface; |
| 13 | 13 | use eZ\Publish\Core\Repository\Values\Content\Location; |
| 14 | 14 | use eZ\Publish\API\Repository\Values\Content\Language; |
| 15 | -use eZ\Publish\SPI\Persistence\Content\Type; |
|
| 16 | 15 | use eZ\Publish\SPI\Persistence\Handler; |
| 17 | 16 | use eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct as APIContentUpdateStruct; |
| 18 | 17 | use eZ\Publish\API\Repository\Values\ContentType\ContentType; |