@@ -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; |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | |
| 11 | 11 | use eZ\Publish\API\Repository\ContentTypeService as ContentTypeServiceInterface; |
| 12 | 12 | use eZ\Publish\API\Repository\Repository as RepositoryInterface; |
| 13 | -use eZ\Publish\API\Repository\Values\ContentType\ContentType; |
|
| 13 | +use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType; |
|
| 14 | 14 | use eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition; |
| 15 | 15 | use eZ\Publish\SPI\Persistence\Content\Type\Handler; |
| 16 | 16 | use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException; |
@@ -19,7 +19,6 @@ discard block |
||
| 19 | 19 | use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionUpdateStruct; |
| 20 | 20 | use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition as APIFieldDefinition; |
| 21 | 21 | use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCreateStruct; |
| 22 | -use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType; |
|
| 23 | 22 | use eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft as APIContentTypeDraft; |
| 24 | 23 | use eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup as APIContentTypeGroup; |
| 25 | 24 | use eZ\Publish\API\Repository\Values\ContentType\ContentTypeUpdateStruct; |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use eZ\Publish\SPI\Persistence\Content\VersionInfo; |
| 19 | 19 | use eZ\Publish\SPI\Persistence\Content\Field; |
| 20 | 20 | use eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct as RelationCreateStruct; |
| 21 | -use Doctrine\DBAL\DBALException; |
|
| 22 | 21 | use PDOException; |
| 23 | 22 | |
| 24 | 23 | /** |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway; |
| 13 | 13 | use eZ\Publish\SPI\Persistence\Content\Location\UpdateStruct; |
| 14 | 14 | use eZ\Publish\SPI\Persistence\Content\Location\CreateStruct; |
| 15 | -use Doctrine\DBAL\DBALException; |
|
| 16 | 15 | use PDOException; |
| 17 | 16 | |
| 18 | 17 | /** |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use eZ\Publish\Core\Persistence\Database\SelectQuery; |
| 18 | 18 | use eZ\Publish\SPI\Persistence\Content\Type\Handler as ContentTypeHandler; |
| 19 | 19 | use eZ\Publish\SPI\Persistence\Content\Language\Handler as LanguageHandler; |
| 20 | -use eZ\Publish\Core\Persistence\Database\Expression; |
|
| 21 | 20 | |
| 22 | 21 | /** |
| 23 | 22 | * Field criterion handler. |
@@ -180,7 +180,4 @@ |
||
| 180 | 180 | '/api/ezp/v2/content/locations/1/2', |
| 181 | 181 | $contentData->remoteId |
| 182 | 182 | ); |
| 183 | - self::$createdContentRemoteIds[] = $contentData->remoteId; |
|
| 184 | - } |
|
| 185 | - } |
|
| 186 | -} |
|
| 183 | + self::$createdContentRemoteIds[] = $contentData->remoteId |
|
| 187 | 184 | \ No newline at end of file |