Completed
Push — 6.13 ( 05c607...40aa84 )
by André
23:50
created
eZ/Publish/Core/Search/Common/FieldValueMapper/GeoLocationMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      *
38 38
      * @param \eZ\Publish\SPI\Search\Field $field
39 39
      *
40
-     * @return mixed|null Returns null on empty value
40
+     * @return null|string Returns null on empty value
41 41
      */
42 42
     public function map(Field $field)
43 43
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Search/Common/FieldValueMapper/StringMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      *
39 39
      * @param \eZ\Publish\SPI\Search\Field $field
40 40
      *
41
-     * @return mixed
41
+     * @return string
42 42
      */
43 43
     public function map(Field $field)
44 44
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/Base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@
 block discarded – undo
244 244
      *
245 245
      * @param int $id
246 246
      *
247
-     * @return \eZ\Publish\API\Repository\Values\User\User
247
+     * @return null|\eZ\Publish\API\Repository\Values\User\UserReference
248 248
      */
249 249
     protected function getStubbedUser($id)
250 250
     {
Please login to merge, or discard this patch.
Publish/Core/Search/Legacy/Content/WordIndexer/Repository/SearchIndex.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -127,15 +127,15 @@
 block discarded – undo
127 127
      * Link word with specific content object (legacy db table: ezsearch_object_word_link).
128 128
      *
129 129
      * @param $wordId
130
-     * @param $contentId
131
-     * @param $frequency
132
-     * @param $placement
130
+     * @param integer $contentId
131
+     * @param integer $frequency
132
+     * @param integer $placement
133 133
      * @param $nextWordId
134 134
      * @param $prevWordId
135
-     * @param $contentTypeId
135
+     * @param integer $contentTypeId
136 136
      * @param $fieldTypeId
137
-     * @param $published
138
-     * @param $sectionId
137
+     * @param integer $published
138
+     * @param integer $sectionId
139 139
      * @param $identifier
140 140
      * @param $integerValue
141 141
      */
Please login to merge, or discard this patch.
Publish/Core/Search/Legacy/Content/WordIndexer/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
      * Ported from the legacy code
185 185
      * @see https://github.com/ezsystems/ezpublish-legacy/blob/master/kernel/search/plugins/ezsearchengine/ezsearchengine.php#L386
186 186
      *
187
-     * @param mixed $contentId
187
+     * @param integer $contentId
188 188
      * @param mixed|null $versionId
189 189
      *
190 190
      * @return bool
Please login to merge, or discard this patch.
eZ/Publish/Core/Search/Common/Indexer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * Get PDOStatement to fetch metadata about content objects to be indexed.
72 72
      *
73
-     * @param array $fields Select fields
73
+     * @param string[] $fields Select fields
74 74
      * @return \PDOStatement
75 75
      */
76 76
     protected function getContentDbFieldsStmt(array $fields)
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      * Log warning while progress bar is shown.
109 109
      *
110 110
      * @param \Symfony\Component\Console\Helper\ProgressBar $progress
111
-     * @param $message
111
+     * @param string $message
112 112
      */
113 113
     protected function logWarning(ProgressBar $progress, $message)
114 114
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/SearchEngineIndexingTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,11 +8,10 @@
 block discarded – undo
8 8
  */
9 9
 namespace eZ\Publish\API\Repository\Tests;
10 10
 
11
-use eZ\Publish\API\Repository\Tests\SetupFactory\LegacyElasticsearch as LegacyElasticsearchSetupFactory;
11
+use eZ\Publish\API\Repository\Tests\SetupFactory\LegacyElasticsearch;
12 12
 use eZ\Publish\API\Repository\Values\Content\ContentInfo;
13 13
 use eZ\Publish\API\Repository\Exceptions\NotFoundException;
14 14
 use eZ\Publish\API\Repository\SearchService;
15
-use eZ\Publish\API\Repository\Tests\SetupFactory\LegacyElasticsearch;
16 15
 use eZ\Publish\API\Repository\Values\Content\LocationQuery;
17 16
 use eZ\Publish\API\Repository\Values\Content\Query;
18 17
 use eZ\Publish\API\Repository\Values\Content\Query\Criterion;
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/ContentTest.php 1 patch
Doc Comments   +11 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1052,7 +1052,7 @@  discard block
 block discarded – undo
1052 1052
      * @param string $mainLanguageCode
1053 1053
      * @param \eZ\Publish\API\Repository\Values\Content\Field[] $structFields
1054 1054
      * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] $fieldDefinitions
1055
-     * @param array $languageCodes
1055
+     * @param string[] $languageCodes
1056 1056
      *
1057 1057
      * @return array
1058 1058
      */
@@ -1126,10 +1126,9 @@  discard block
 block discarded – undo
1126 1126
      * @param \eZ\Publish\SPI\Persistence\Content\Field[] $spiFields
1127 1127
      * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] $fieldDefinitions
1128 1128
      * @param \eZ\Publish\API\Repository\Values\Content\LocationCreateStruct[] $locationCreateStructs
1129
-     * @param \eZ\Publish\SPI\Persistence\Content\ObjectState\Group[] $objectStateGroups
1130 1129
      * @param bool $execute
1131 1130
      *
1132
-     * @return mixed
1131
+     * @return ContentCreateStruct
1133 1132
      */
1134 1133
     protected function assertForTestCreateContentNonRedundantFieldSet(
1135 1134
         $mainLanguageCode,
@@ -2006,7 +2005,7 @@  discard block
 block discarded – undo
2006 2005
      * @param \eZ\Publish\API\Repository\Values\Content\Field[] $structFields
2007 2006
      * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] $fieldDefinitions
2008 2007
      *
2009
-     * @return mixed
2008
+     * @return ContentCreateStruct
2010 2009
      */
2011 2010
     protected function assertForTestCreateContentRequiredField(
2012 2011
         $mainLanguageCode,
@@ -4793,6 +4792,10 @@  discard block
 block discarded – undo
4793 4792
         );
4794 4793
     }
4795 4794
 
4795
+    /**
4796
+     * @param Field[] $existingFields
4797
+     * @param FieldDefinition[] $fieldDefinitions
4798
+     */
4796 4799
     public function assertForTestUpdateContentRequiredField(
4797 4800
         $initialLanguageCode,
4798 4801
         $structFields,
@@ -4991,6 +4994,10 @@  discard block
 block discarded – undo
4991 4994
         }
4992 4995
     }
4993 4996
 
4997
+    /**
4998
+     * @param Field[] $existingFields
4999
+     * @param FieldDefinition[] $fieldDefinitions
5000
+     */
4994 5001
     public function assertForTestUpdateContentThrowsContentFieldValidationException(
4995 5002
         $initialLanguageCode,
4996 5003
         $structFields,
Please login to merge, or discard this patch.
eZ/Publish/Core/Search/Common/FieldValueMapper/BooleanMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      *
37 37
      * @param \eZ\Publish\SPI\Search\Field $field
38 38
      *
39
-     * @return mixed
39
+     * @return boolean
40 40
      */
41 41
     public function map(Field $field)
42 42
     {
Please login to merge, or discard this patch.