Completed
Push — ezp26914-imagine_resolve_excep... ( b3a31a...daccc4 )
by
unknown
16:32
created
eZ/Publish/API/Repository/Tests/ContentServiceTest.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2858,7 +2858,7 @@  discard block
 block discarded – undo
2858 2858
     /**
2859 2859
      * Test for the addRelation() method.
2860 2860
      *
2861
-     * @return \eZ\Publish\API\Repository\Values\Content\Content
2861
+     * @return Relation[]
2862 2862
      *
2863 2863
      * @see \eZ\Publish\API\Repository\ContentService::addRelation()
2864 2864
      * @depends eZ\Publish\API\Repository\Tests\ContentServiceTest::testPublishVersionFromContentDraft
@@ -4768,7 +4768,7 @@  discard block
 block discarded – undo
4768 4768
     /**
4769 4769
      * Simplify creating custom role with limited set of policies.
4770 4770
      *
4771
-     * @param $roleName
4771
+     * @param string $roleName
4772 4772
      * @param array $policies e.g. [ ['content', 'create'], ['content', 'edit'], ]
4773 4773
      */
4774 4774
     private function createRoleWithPolicies($roleName, array $policies)
@@ -4791,7 +4791,7 @@  discard block
 block discarded – undo
4791 4791
      * given properties are available in $actualAliases and not more.
4792 4792
      *
4793 4793
      * @param array $expectedAliasProperties
4794
-     * @param array $actualAliases
4794
+     * @param URLAlias[] $actualAliases
4795 4795
      */
4796 4796
     private function assertAliasesCorrect(array $expectedAliasProperties, array $actualAliases)
4797 4797
     {
@@ -4953,7 +4953,7 @@  discard block
 block discarded – undo
4953 4953
     /**
4954 4954
      * Returns the default fixture of fields used in most tests.
4955 4955
      *
4956
-     * @return \eZ\Publish\API\Repository\Values\Content\Field[]
4956
+     * @return Field[]
4957 4957
      */
4958 4958
     private function createFieldsFixture()
4959 4959
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/ContentTypeServiceTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -888,7 +888,7 @@  discard block
 block discarded – undo
888 888
      * Asserts that the given $actualDefinition is correctly created from the
889 889
      * create struct in $expectedCreate.
890 890
      *
891
-     * @param \eZ\Publish\API\Repository\Values\FieldDefinitionCreateStruct $expectedDefinitionCreate
891
+     * @param \eZ\Publish\API\Repository\Values\FieldDefinitionCreateStruct $expectedCreate
892 892
      * @param \eZ\Publish\API\Repository\Values\FieldDefinition $actualDefinition
893 893
      */
894 894
     protected function assertFieldDefinitionsEqual($expectedCreate, $actualDefinition)
@@ -3007,7 +3007,7 @@  discard block
 block discarded – undo
3007 3007
     /**
3008 3008
      * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $originalType
3009 3009
      * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $copiedType
3010
-     * @param array $excludedProperties
3010
+     * @param string[] $excludedProperties
3011 3011
      */
3012 3012
     private function assertCopyContentTypeValues($originalType, $copiedType, $excludedProperties = [])
3013 3013
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/Functional/RoleTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,6 +117,7 @@  discard block
 block discarded – undo
117 117
      * @depends testCreateRole
118 118
      * Covers POST /user/roles/{roleId}
119 119
      *
120
+     * @param string $roleHref
120 121
      * @return string The created role draft href
121 122
      */
122 123
     public function testCreateRoleDraft($roleHref)
@@ -410,7 +411,6 @@  discard block
 block discarded – undo
410 411
     /**
411 412
      * @covers       \POST /user/users/{userId}/roles
412 413
      *
413
-     * @param string $roleHref
414 414
      * @param array $limitation
415 415
      *
416 416
      * @return string assigned role href
Please login to merge, or discard this patch.
Core/Persistence/Legacy/Tests/Content/Language/MaskGeneratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
     }
162 162
 
163 163
     /**
164
-     * @param int $languageMask
164
+     * @param int $langMask
165 165
      * @param bool $expectedResult
166 166
      *
167 167
      * @covers       \eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator::isAlwaysAvailable
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/Functional/ContentTypeTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -416,6 +416,7 @@
 block discarded – undo
416 416
     /**
417 417
      * @depends testAddContentTypeDraftFieldDefinition
418 418
      * Covers GET /content/types/<contentTypeId>/fieldDefinitions/<fieldDefinitionId>
419
+     * @param \Buzz\Message\Response $fieldDefinitionHref
419 420
      */
420 421
     public function testLoadContentTypeFieldDefinition($fieldDefinitionHref)
421 422
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/Tests/DateAndTimeTest.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * NOT take care for test case wide caching of the field type, just return
29 29
      * a new instance from this method!
30 30
      *
31
-     * @return FieldType
31
+     * @return DateAndTime
32 32
      */
33 33
     protected function createFieldTypeUnderTest()
34 34
     {
@@ -216,7 +216,6 @@  discard block
 block discarded – undo
216 216
     }
217 217
 
218 218
     /**
219
-     * @param mixed $inputValue
220 219
      * @param array $expectedResult
221 220
      *
222 221
      * @dataProvider provideInputForFromHash
@@ -278,7 +277,6 @@  discard block
 block discarded – undo
278 277
     }
279 278
 
280 279
     /**
281
-     * @param mixed $inputValue
282 280
      * @param string $intervalSpec
283 281
      *
284 282
      * @dataProvider provideInputForTimeStringFromHash
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/FieldType/KeywordIntegrationTest.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Get initial field data for valid object creation.
99 99
      *
100
-     * @return mixed
100
+     * @return KeywordValue
101 101
      */
102 102
     public function getValidCreationFieldData()
103 103
     {
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     /**
174 174
      * Get update field externals data.
175 175
      *
176
-     * @return array
176
+     * @return KeywordValue
177 177
      */
178 178
     public function getValidUpdateFieldData()
179 179
     {
@@ -353,6 +353,8 @@  discard block
 block discarded – undo
353 353
 
354 354
     /**
355 355
      * {@inheritdoc}
356
+     * @param KeywordValue $fieldData
357
+     * @param ContentType $contentType
356 358
      */
357 359
     protected function createContent($fieldData, $contentType = null)
358 360
     {
@@ -410,7 +412,7 @@  discard block
 block discarded – undo
410 412
     /**
411 413
      * Create and publish content of $contentType with $fieldData.
412 414
      *
413
-     * @param mixed $fieldData
415
+     * @param string $fieldData
414 416
      * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType
415 417
      * @param string $remoteId
416 418
      * @return \eZ\Publish\API\Repository\Values\Content\Content
Please login to merge, or discard this patch.