Completed
Push — 7.5 ( 8c46b6...5b7eb5 )
by Łukasz
20:41
created
eZ/Publish/Core/Repository/ContentTypeService.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/ContentTypeService.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException if the user is not allowed to delete a content type group
90 90
      * @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException If  a to be deleted content type has instances
91 91
      *
92
-     * @param \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $ContentTypeGroup
92
+     * @param \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $contentTypeGroup
93 93
      */
94 94
     public function deleteContentTypeGroup(ContentTypeGroup $contentTypeGroup);
95 95
 
@@ -393,6 +393,7 @@  discard block
 block discarded – undo
393 393
      * Delete all content type drafs created or modified by the user.
394 394
      *
395 395
      * @param int $userId
396
+     * @return void
396 397
      */
397 398
     public function deleteUserDrafts(int $userId): void;
398 399
 }
Please login to merge, or discard this patch.