Completed
Push — EZP-30461 ( f31212...2bcc5c )
by
unknown
27:37
created
eZ/Publish/API/Repository/Tests/ContentServiceTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2737,7 +2737,7 @@  discard block
 block discarded – undo
2737 2737
     /**
2738 2738
      * Test for the addRelation() method.
2739 2739
      *
2740
-     * @return \eZ\Publish\API\Repository\Values\Content\Content
2740
+     * @return Relation[]
2741 2741
      *
2742 2742
      * @see \eZ\Publish\API\Repository\ContentService::addRelation()
2743 2743
      * @depends eZ\Publish\API\Repository\Tests\ContentServiceTest::testPublishVersionFromContentDraft
@@ -4554,7 +4554,7 @@  discard block
 block discarded – undo
4554 4554
      * given properties are available in $actualAliases and not more.
4555 4555
      *
4556 4556
      * @param array $expectedAliasProperties
4557
-     * @param array $actualAliases
4557
+     * @param URLAlias[] $actualAliases
4558 4558
      */
4559 4559
     private function assertAliasesCorrect(array $expectedAliasProperties, array $actualAliases)
4560 4560
     {
@@ -4716,7 +4716,7 @@  discard block
 block discarded – undo
4716 4716
     /**
4717 4717
      * Returns the default fixture of fields used in most tests.
4718 4718
      *
4719
-     * @return \eZ\Publish\API\Repository\Values\Content\Field[]
4719
+     * @return Field[]
4720 4720
      */
4721 4721
     private function createFieldsFixture()
4722 4722
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/FieldType/RelationIntegrationTest.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * @param \eZ\Publish\API\Repository\Values\Content\Content $content
38 38
      *
39
-     * @return array|\eZ\Publish\API\Repository\Values\Content\Relation[]
39
+     * @return Relation[]
40 40
      */
41 41
     public function getCreateExpectedRelations(Content $content)
42 42
     {
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * @param \eZ\Publish\API\Repository\Values\Content\Content $content
59 59
      *
60
-     * @return array|\eZ\Publish\API\Repository\Values\Content\Relation[]
60
+     * @return Relation[]
61 61
      */
62 62
     public function getUpdateExpectedRelations(Content $content)
63 63
     {
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     /**
152 152
      * Get initial field data for valid object creation.
153 153
      *
154
-     * @return mixed
154
+     * @return RelationValue
155 155
      */
156 156
     public function getValidCreationFieldData()
157 157
     {
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
     /**
217 217
      * Get update field externals data.
218 218
      *
219
-     * @return array
219
+     * @return RelationValue
220 220
      */
221 221
     public function getValidUpdateFieldData()
222 222
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/SearchServiceTest.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3826,6 +3826,7 @@  discard block
 block discarded – undo
3826 3826
      * Test for the findContent() method.
3827 3827
      *
3828 3828
      * @see \eZ\Publish\API\Repository\SearchService::findContent()
3829
+     * @param string $queryType
3829 3830
      */
3830 3831
     public function testUserMetadataGroupHorizontalFilterContent($queryType = null)
3831 3832
     {
@@ -3915,6 +3916,7 @@  discard block
 block discarded – undo
3915 3916
      * Test for the findLocations() method.
3916 3917
      *
3917 3918
      * @see \eZ\Publish\API\Repository\SearchService::findLocations()
3919
+     * @param string $queryType
3918 3920
      */
3919 3921
     public function testUserMetadataGroupHorizontalFilterLocation($queryType = null)
3920 3922
     {
@@ -4354,7 +4356,7 @@  discard block
 block discarded – undo
4354 4356
      *
4355 4357
      * @param null|callable $closure
4356 4358
      *
4357
-     * @return callable
4359
+     * @return \Closure
4358 4360
      */
4359 4361
     private function getContentInfoFixtureClosure($closure = null)
4360 4362
     {
Please login to merge, or discard this patch.
API/Repository/Tests/SearchServiceTranslationLanguageFallbackTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
     }
133 133
 
134 134
     /**
135
-     * @param array $parentLocationIds
135
+     * @param integer[] $parentLocationIds
136 136
      *
137 137
      * @return array
138 138
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/RichText/Converter/Render/Embed.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * Processes single embed element type (ezembed or ezembedinline).
58 58
      *
59 59
      * @param \DOMDocument $document
60
-     * @param $tagName string name of the tag to extract
60
+     * @param string $tagName string name of the tag to extract
61 61
      * @param bool $isInline
62 62
      */
63 63
     protected function processTag(DOMDocument $document, $tagName, $isInline)
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * @param \DOMElement $embed
115 115
      * @param $tagName string name of the tag to extract
116 116
      *
117
-     * @return array
117
+     * @return boolean
118 118
      */
119 119
     protected function extractParameters(DOMElement $embed, $tagName)
120 120
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * Creates a Content from the given $struct and $currentVersionNo.
59 59
      *
60 60
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
61
-     * @param mixed $currentVersionNo
61
+     * @param integer $currentVersionNo
62 62
      *
63 63
      * @return \eZ\Publish\SPI\Persistence\Content\ContentInfo
64 64
      */
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * Creates a new version for the given $struct and $versionNo.
90 90
      *
91 91
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
92
-     * @param mixed $versionNo
92
+     * @param integer $versionNo
93 93
      *
94 94
      * @return \eZ\Publish\SPI\Persistence\Content\VersionInfo
95 95
      */
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      * Creates a new version for the given $content.
124 124
      *
125 125
      * @param \eZ\Publish\SPI\Persistence\Content $content
126
-     * @param mixed $versionNo
126
+     * @param integer $versionNo
127 127
      * @param mixed $userId
128 128
      *
129 129
      * @return \eZ\Publish\SPI\Persistence\Content\VersionInfo
Please login to merge, or discard this patch.
eZ/Publish/SPI/Tests/FieldType/BaseIntegrationTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
      * $languageCode.
362 362
      *
363 363
      * @param Type $contentType
364
-     * @param mixed $fieldValue
364
+     * @param Content\FieldValue $fieldValue
365 365
      * @param string $languageCode
366 366
      *
367 367
      * @return Content
@@ -480,8 +480,8 @@  discard block
 block discarded – undo
480 480
     /**
481 481
      * Performs an update on $contentId in $contentVersion setting $field.
482 482
      *
483
-     * @param mixed $contentId
484
-     * @param mixed $contentVersion
483
+     * @param string $contentId
484
+     * @param string $contentVersion
485 485
      * @param Field $field
486 486
      *
487 487
      * @return Content
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Features/Context/SubContext/EzRest.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -46,6 +46,8 @@
 block discarded – undo
46 46
 
47 47
     /**
48 48
      * @When I set header :header with/for :object object
49
+     * @param string $header
50
+     * @param string $object
49 51
      */
50 52
     public function setHeaderWithObject($header, $object)
51 53
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/RichText/Type.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -402,7 +402,6 @@
 block discarded – undo
402 402
      * Not intended for \eZ\Publish\API\Repository\Values\Content\Relation::COMMON type relations,
403 403
      * there is a service API for handling those.
404 404
      *
405
-     * @param \eZ\Publish\Core\FieldType\RichText\Value $fieldValue
406 405
      *
407 406
      * @return array Hash with relation type as key and array of destination content ids as value.
408 407
      *
Please login to merge, or discard this patch.