Completed
Push — 6.7 ( 4cfb90...e778d2 )
by André
24:30
created
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/Publish/SPI/Tests/FieldType/ImageIntegrationTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -99,6 +99,9 @@  discard block
 block discarded – undo
99 99
         );
100 100
     }
101 101
 
102
+    /**
103
+     * @return \eZ\Publish\Core\Base\Utils\DeprecationWarnerInterface
104
+     */
102 105
     public function getDeprecationWarnerMock()
103 106
     {
104 107
         if (!isset($this->deprecationWarnerMock)) {
@@ -108,6 +111,9 @@  discard block
 block discarded – undo
108 111
         return $this->deprecationWarnerMock;
109 112
     }
110 113
 
114
+    /**
115
+     * @return null|FieldType\Image\AliasCleanerInterface
116
+     */
111 117
     public function getAliasCleanerMock()
112 118
     {
113 119
         if (!isset($this->aliasCleanerMock)) {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/Functional/RoleTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 namespace eZ\Bundle\EzPublishRestBundle\Tests\Functional;
12 12
 
13 13
 use eZ\Bundle\EzPublishRestBundle\Tests\Functional\TestCase as RESTFunctionalTestCase;
14
-use eZ\Publish\API\Repository\Values\User\Limitation;
15 14
 
16 15
 class RoleTest extends RESTFunctionalTestCase
17 16
 {
Please login to merge, or discard this patch.
Publish/Core/Search/Legacy/Content/WordIndexer/Gateway/DoctrineDatabase.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use eZ\Publish\Core\Search\Legacy\Content\FullTextData;
15 15
 use eZ\Publish\SPI\Persistence\Content;
16 16
 use eZ\Publish\SPI\Persistence\Content\Type\Handler as SPITypeHandler;
17
-use eZ\Publish\SPI\Search\Field;
18 17
 
19 18
 /**
20 19
  * WordIndexer gateway implementation using the Doctrine database.
Please login to merge, or discard this 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.
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.
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.
Legacy/Content/Common/Gateway/SortClauseHandler/MapLocationDistance.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      * @param \eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause
80 80
      * @param int $number
81 81
      *
82
-     * @return string
82
+     * @return string[]
83 83
      */
84 84
     public function applySelect(SelectQuery $query, SortClause $sortClause, $number)
85 85
     {
Please login to merge, or discard this patch.
eZ/Publish/SPI/Tests/FieldType/BinaryFileIntegrationTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * Get handler with required custom field types registered.
51 51
      *
52
-     * @return Handler
52
+     * @return \eZ\Publish\SPI\Persistence\Handler|null
53 53
      */
54 54
     public function getCustomHandler()
55 55
     {
Please login to merge, or discard this patch.
eZ/Publish/SPI/Tests/FieldType/CheckboxIntegrationTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * Get handler with required custom field types registered.
51 51
      *
52
-     * @return Handler
52
+     * @return \eZ\Publish\SPI\Persistence\Handler|null
53 53
      */
54 54
     public function getCustomHandler()
55 55
     {
Please login to merge, or discard this patch.