Completed
Push — 7.0 ( 8f0969...a83e4a )
by André
24:15
created
eZ/Publish/Core/FieldType/Tests/DateAndTimeTest.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      * NOT take care for test case wide caching of the field type, just return
31 31
      * a new instance from this method!
32 32
      *
33
-     * @return FieldType
33
+     * @return DateAndTime
34 34
      */
35 35
     protected function createFieldTypeUnderTest()
36 36
     {
@@ -218,7 +218,6 @@  discard block
 block discarded – undo
218 218
     }
219 219
 
220 220
     /**
221
-     * @param mixed $inputValue
222 221
      * @param array $expectedResult
223 222
      *
224 223
      * @dataProvider provideInputForFromHash
Please login to merge, or discard this patch.
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/Publish/Core/Repository/ContentService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1338,7 +1338,7 @@  discard block
 block discarded – undo
1338 1338
      * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct
1339 1339
      * @param \eZ\Publish\API\Repository\Values\Content\Content $content
1340 1340
      *
1341
-     * @return array
1341
+     * @return string[]
1342 1342
      */
1343 1343
     protected function getLanguageCodesForUpdate(APIContentUpdateStruct $contentUpdateStruct, APIContent $content)
1344 1344
     {
@@ -1467,7 +1467,7 @@  discard block
 block discarded – undo
1467 1467
      * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo
1468 1468
      * @param int|null $publicationDate If null existing date is kept if there is one, otherwise current time is used.
1469 1469
      *
1470
-     * @return \eZ\Publish\API\Repository\Values\Content\Content
1470
+     * @return LocationCreateStruct
1471 1471
      */
1472 1472
     protected function internalPublishVersion(APIVersionInfo $versionInfo, $publicationDate = null)
1473 1473
     {
Please login to merge, or discard this patch.