Completed
Push — ezp25366-copy_content_relation... ( 48519a...7d5327 )
by
unknown
23:43 queued 10s
created
Persistence/Legacy/Tests/Content/Language/CachingLanguageHandlerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -352,7 +352,7 @@
 block discarded – undo
352 352
     /**
353 353
      * Returns an array with 2 languages.
354 354
      *
355
-     * @return \eZ\Publish\SPI\Persistence\Content\Language[]
355
+     * @return Language[]
356 356
      */
357 357
     protected function getLanguagesFixture()
358 358
     {
Please login to merge, or discard this patch.
Core/Persistence/Legacy/Tests/Content/Language/MaskGeneratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-     * @param int $languageMask
166
+     * @param int $langMask
167 167
      * @param bool $expectedResult
168 168
      *
169 169
      * @covers       eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator::isAlwaysAvailable
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Tests/Content/LanguageAwareTestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * Returns a language handler mock.
37 37
      *
38
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Language\Handler
38
+     * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler
39 39
      */
40 40
     protected function getLanguageHandler()
41 41
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Tests/Content/StorageHandlerTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     /**
183 183
      * Returns a context mock.
184 184
      *
185
-     * @return array
185
+     * @return integer[]
186 186
      */
187 187
     protected function getContextMock()
188 188
     {
@@ -223,6 +223,9 @@  discard block
 block discarded – undo
223 223
         return $this->storageMock;
224 224
     }
225 225
 
226
+    /**
227
+     * @return VersionInfo
228
+     */
226 229
     protected function getVersionInfoMock()
227 230
     {
228 231
         if (!isset($this->versionInfoMock)) {
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 \PHPUnit_Framework_MockObject_MockObject
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 \PHPUnit_Framework_MockObject_MockObject
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.
Core/Persistence/Legacy/Tests/Content/Type/ContentTypeHandlerTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1141,7 +1141,7 @@  discard block
 block discarded – undo
1141 1141
     /**
1142 1142
      * Returns a handler to test with $methods mocked.
1143 1143
      *
1144
-     * @param array $methods
1144
+     * @param string[] $methods
1145 1145
      *
1146 1146
      * @return \eZ\Publish\Core\Persistence\Legacy\Content\Type\Handler
1147 1147
      */
@@ -1177,7 +1177,7 @@  discard block
 block discarded – undo
1177 1177
     /**
1178 1178
      * Returns a mapper mock.
1179 1179
      *
1180
-     * @param array $methods
1180
+     * @param string[] $methods
1181 1181
      *
1182 1182
      * @return \eZ\Publish\Core\Persistence\Legacy\Content\Type\Mapper
1183 1183
      */
Please login to merge, or discard this patch.
Legacy/Tests/Content/Type/ContentUpdater/Action/AddFieldTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -510,7 +510,7 @@  discard block
 block discarded – undo
510 510
      * Returns a Content fixture.
511 511
      *
512 512
      * @param int $versionNo
513
-     * @param array $languageCodes
513
+     * @param string[] $languageCodes
514 514
      *
515 515
      * @return \eZ\Publish\SPI\Persistence\Content
516 516
      */
@@ -570,7 +570,7 @@  discard block
 block discarded – undo
570 570
     /**
571 571
      * Returns a Content StorageHandler mock.
572 572
      *
573
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler
573
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler
574 574
      */
575 575
     protected function getContentStorageHandlerMock()
576 576
     {
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
590 590
     /**
591 591
      * Returns a Content mapper mock.
592 592
      *
593
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Mapper
593
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper
594 594
      */
595 595
     protected function getContentMapperMock()
596 596
     {
Please login to merge, or discard this patch.
Legacy/Tests/Content/Type/ContentUpdater/Action/RemoveFieldTest.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -268,6 +268,8 @@  discard block
 block discarded – undo
268 268
     /**
269 269
      * Returns a Content fixture.
270 270
      *
271
+     * @param integer $versionNo
272
+     * @param string[] $languageCodes
271 273
      * @return \eZ\Publish\SPI\Persistence\Content
272 274
      */
273 275
     protected function getContentFixture($versionNo, $languageCodes)
@@ -321,7 +323,7 @@  discard block
 block discarded – undo
321 323
     /**
322 324
      * Returns a Content StorageHandler mock.
323 325
      *
324
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler
326
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler
325 327
      */
326 328
     protected function getContentStorageHandlerMock()
327 329
     {
@@ -341,7 +343,7 @@  discard block
 block discarded – undo
341 343
     /**
342 344
      * Returns a Content mapper mock.
343 345
      *
344
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Mapper
346
+     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper
345 347
      */
346 348
     protected function getContentMapperMock()
347 349
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Tests/TransactionHandlerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
     /**
190 190
      * Returns a mock object for the Content Gateway.
191 191
      *
192
-     * @return \eZ\Publish\Core\Persistence\Database\DatabaseHandler|\PHPUnit_Framework_MockObject_MockObject
192
+     * @return \PHPUnit_Framework_MockObject_MockObject
193 193
      */
194 194
     protected function getDatabaseHandlerMock()
195 195
     {
Please login to merge, or discard this patch.