Completed
Push — master ( c6d0f8...0899a5 )
by
unknown
58:03 queued 43:58
created
eZ/Publish/Core/Repository/Values/ContentType/ContentTypeDraft.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
     /**
128 128
      * This method returns the content type field definitions from this type.
129 129
      *
130
-     * @return \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[]
130
+     * @return APIFieldDefinitionCollection
131 131
      */
132 132
     public function getFieldDefinitions(): APIFieldDefinitionCollection
133 133
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/ContentTest.php 1 patch
Doc Comments   +12 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1082,7 +1082,7 @@  discard block
 block discarded – undo
1082 1082
      * @param string $mainLanguageCode
1083 1083
      * @param \eZ\Publish\API\Repository\Values\Content\Field[] $structFields
1084 1084
      * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] $fieldDefinitions
1085
-     * @param array $languageCodes
1085
+     * @param string[] $languageCodes
1086 1086
      *
1087 1087
      * @return array
1088 1088
      *
@@ -1158,10 +1158,9 @@  discard block
 block discarded – undo
1158 1158
      * @param \eZ\Publish\SPI\Persistence\Content\Field[] $spiFields
1159 1159
      * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] $fieldDefinitions
1160 1160
      * @param \eZ\Publish\API\Repository\Values\Content\LocationCreateStruct[] $locationCreateStructs
1161
-     * @param \eZ\Publish\SPI\Persistence\Content\ObjectState\Group[] $objectStateGroups
1162 1161
      * @param bool $execute
1163 1162
      *
1164
-     * @return mixed
1163
+     * @return ContentCreateStruct
1165 1164
      */
1166 1165
     protected function assertForTestCreateContentNonRedundantFieldSet(
1167 1166
         $mainLanguageCode,
@@ -2045,7 +2044,7 @@  discard block
 block discarded – undo
2045 2044
      * @param \eZ\Publish\API\Repository\Values\Content\Field[] $structFields
2046 2045
      * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] $fieldDefinitions
2047 2046
      *
2048
-     * @return mixed
2047
+     * @return ContentCreateStruct
2049 2048
      */
2050 2049
     protected function assertForTestCreateContentRequiredField(
2051 2050
         $mainLanguageCode,
@@ -4873,6 +4872,10 @@  discard block
 block discarded – undo
4873 4872
         );
4874 4873
     }
4875 4874
 
4875
+    /**
4876
+     * @param Field[] $existingFields
4877
+     * @param FieldDefinition[] $fieldDefinitions
4878
+     */
4876 4879
     public function assertForTestUpdateContentRequiredField(
4877 4880
         $initialLanguageCode,
4878 4881
         $structFields,
@@ -5081,6 +5084,10 @@  discard block
 block discarded – undo
5081 5084
         }
5082 5085
     }
5083 5086
 
5087
+    /**
5088
+     * @param Field[] $existingFields
5089
+     * @param FieldDefinition[] $fieldDefinitions
5090
+     */
5084 5091
     public function assertForTestUpdateContentThrowsContentFieldValidationException(
5085 5092
         $initialLanguageCode,
5086 5093
         $structFields,
@@ -5820,7 +5827,7 @@  discard block
 block discarded – undo
5820 5827
      * @param array $translations
5821 5828
      * @param bool $useAlwaysAvailable
5822 5829
      *
5823
-     * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\API\Repository\Values\Content\Content
5830
+     * @return APIContent
5824 5831
      */
5825 5832
     private function mockBuildContentDomainObject(SPIContent $spiContent, array $translations = null, bool $useAlwaysAvailable = null)
5826 5833
     {
Please login to merge, or discard this patch.