Completed
Push — ezp_30815 ( 9fd511...6d4356 )
by
unknown
26:07 queued 12:00
created
eZ/Publish/Core/Repository/Helper/NameSchemaService.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      * @param \eZ\Publish\API\Repository\Values\Content\Content $content
91 91
      * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType|null $contentType
92 92
      *
93
-     * @return array
93
+     * @return string[]
94 94
      */
95 95
     public function resolveUrlAliasSchema(Content $content, ContentType $contentType = null)
96 96
     {
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * @param array $languageCodes
115 115
      * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType|null $contentType
116 116
      *
117
-     * @return array
117
+     * @return string[]
118 118
      */
119 119
     public function resolveNameSchema(Content $content, array $fieldMap = [], array $languageCodes = [], ContentType $contentType = null)
120 120
     {
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
      * inferred.
293 293
      *
294 294
      * @param string $token
295
-     * @param array $titles
295
+     * @param string[] $titles
296 296
      * @param array $groupLookupTable
297 297
      *
298 298
      * @return string
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.
eZ/Publish/Core/Repository/ContentTypeService.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 use eZ\Publish\API\Repository\Repository as RepositoryInterface;
13 13
 use eZ\Publish\Core\FieldType\FieldTypeRegistry;
14 14
 use eZ\Publish\SPI\Persistence\Content\Type\Handler;
15
-use eZ\Publish\API\Repository\Values\ContentType\ContentType;
15
+use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType;
16 16
 use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException;
17 17
 use eZ\Publish\API\Repository\Exceptions\BadStateException as APIBadStateException;
18 18
 use eZ\Publish\API\Repository\Values\User\User;
@@ -20,7 +20,6 @@  discard block
 block discarded – undo
20 20
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionUpdateStruct;
21 21
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition as APIFieldDefinition;
22 22
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCreateStruct;
23
-use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType;
24 23
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft as APIContentTypeDraft;
25 24
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup as APIContentTypeGroup;
26 25
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeUpdateStruct;
Please login to merge, or discard this patch.