Completed
Push — 6.7 ( b74cd7...bac3e8 )
by André
21:14
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/Persistence/Legacy/Tests/Content/TreeHandlerTest.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
     /**
366 366
      * Returns Location Gateway mock.
367 367
      *
368
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway
368
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway
369 369
      */
370 370
     protected function getLocationGatewayMock()
371 371
     {
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
     /**
387 387
      * Returns a Location Mapper mock.
388 388
      *
389
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper
389
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper
390 390
      */
391 391
     protected function getLocationMapperMock()
392 392
     {
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
     /**
412 412
      * Returns Content Gateway mock.
413 413
      *
414
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Gateway
414
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Gateway
415 415
      */
416 416
     protected function getContentGatewayMock()
417 417
     {
@@ -432,7 +432,7 @@  discard block
 block discarded – undo
432 432
     /**
433 433
      * Returns a Content Mapper mock.
434 434
      *
435
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Mapper
435
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper
436 436
      */
437 437
     protected function getContentMapperMock()
438 438
     {
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
     /**
458 458
      * Returns a FieldHandler mock.
459 459
      *
460
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler
460
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler
461 461
      */
462 462
     protected function getFieldHandlerMock()
463 463
     {
@@ -475,7 +475,7 @@  discard block
 block discarded – undo
475 475
     }
476 476
 
477 477
     /**
478
-     * @param array $methods
478
+     * @param string[] $methods
479 479
      *
480 480
      * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler
481 481
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/PermissionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -628,7 +628,7 @@
 block discarded – undo
628 628
      * Returns Role stub.
629 629
      *
630 630
      * @param array $policiesData
631
-     * @param mixed $roleId
631
+     * @param integer $roleId
632 632
      *
633 633
      * @return \eZ\Publish\SPI\Persistence\User\Role
634 634
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/URLWildcardService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      *
163 163
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException if the url wild card was not found
164 164
      *
165
-     * @param mixed $id
165
+     * @param string $id
166 166
      *
167 167
      * @return \eZ\Publish\API\Repository\Values\Content\UrlWildcard
168 168
      */
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
      * the values from the given <b>$values</b> array.
271 271
      *
272 272
      * @param string $destinationUrl
273
-     * @param array $values
273
+     * @param string[] $values
274 274
      *
275 275
      * @return string
276 276
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/DomainMapperTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     }
137 137
 
138 138
     /**
139
-     * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler|\PHPUnit_Framework_MockObject_MockObject
139
+     * @return SPILanguage\Handler
140 140
      */
141 141
     protected function getLanguageHandlerMock()
142 142
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     }
145 145
 
146 146
     /**
147
-     * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler|\PHPUnit_Framework_MockObject_MockObject
147
+     * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler
148 148
      */
149 149
     protected function getTypeHandlerMock()
150 150
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/URLAliasService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
      * @param bool $showAllTranslations
296 296
      * @param string[] $prioritizedLanguageList
297 297
      *
298
-     * @return string|bool
298
+     * @return false|string
299 299
      */
300 300
     protected function extractPath(
301 301
         SPIURLAlias $spiUrlAlias,
@@ -640,7 +640,7 @@  discard block
 block discarded – undo
640 640
      * @param \eZ\Publish\API\Repository\Values\Content\Location $location
641 641
      * @param string $languageCode
642 642
      * @param null|bool $showAllTranslations
643
-     * @param null|string[] $prioritizedLanguageList
643
+     * @param string[] $prioritizedLanguageList
644 644
      *
645 645
      * @return \eZ\Publish\API\Repository\Values\Content\URLAlias
646 646
      */
Please login to merge, or discard this patch.
Publish/Core/REST/Common/Tests/Output/ValueObjectVisitorDispatcherTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     }
117 117
 
118 118
     /**
119
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\REST\Common\Output\ValueObjectVisitor
119
+     * @return Common\Output\ValueObjectVisitor
120 120
      */
121 121
     private function getValueObjectVisitorMock()
122 122
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     }
125 125
 
126 126
     /**
127
-     * @return \PHPUnit_Framework_MockObject_MockObject|Common\Output\Visitor
127
+     * @return Common\Output\Visitor
128 128
      */
129 129
     private function getOutputVisitorMock()
130 130
     {
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     }
139 139
 
140 140
     /**
141
-     * @return \PHPUnit_Framework_MockObject_MockObject|Common\Output\Generator
141
+     * @return Common\Output\Generator
142 142
      */
143 143
     private function getOutputGeneratorMock()
144 144
     {
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.