Completed
Push — master ( 28c8cd...7e44c6 )
by André
18:53
created
eZ/Publish/Core/Persistence/Legacy/Tests/Content/StorageHandlerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 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
     {
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
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
     /**
369 369
      * Returns Location Gateway mock.
370 370
      *
371
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway
371
+     * @return LocationGateway
372 372
      */
373 373
     protected function getLocationGatewayMock()
374 374
     {
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
     /**
388 388
      * Returns a Location Mapper mock.
389 389
      *
390
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper
390
+     * @return LocationMapper
391 391
      */
392 392
     protected function getLocationMapperMock()
393 393
     {
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
     /**
407 407
      * Returns Content Gateway mock.
408 408
      *
409
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Gateway
409
+     * @return Gateway
410 410
      */
411 411
     protected function getContentGatewayMock()
412 412
     {
@@ -425,7 +425,7 @@  discard block
 block discarded – undo
425 425
     /**
426 426
      * Returns a Content Mapper mock.
427 427
      *
428
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Mapper
428
+     * @return Mapper
429 429
      */
430 430
     protected function getContentMapperMock()
431 431
     {
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
     /**
445 445
      * Returns a FieldHandler mock.
446 446
      *
447
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler
447
+     * @return FieldHandler
448 448
      */
449 449
     protected function getFieldHandlerMock()
450 450
     {
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
     }
457 457
 
458 458
     /**
459
-     * @param array $methods
459
+     * @param string[] $methods
460 460
      *
461 461
      * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler
462 462
      */
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
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
      * Returns a Content fixture.
514 514
      *
515 515
      * @param int $versionNo
516
-     * @param array $languageCodes
516
+     * @param string[] $languageCodes
517 517
      *
518 518
      * @return \eZ\Publish\SPI\Persistence\Content
519 519
      */
@@ -569,7 +569,7 @@  discard block
 block discarded – undo
569 569
     /**
570 570
      * Returns a Content StorageHandler mock.
571 571
      *
572
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler
572
+     * @return StorageHandler
573 573
      */
574 574
     protected function getContentStorageHandlerMock()
575 575
     {
@@ -583,7 +583,7 @@  discard block
 block discarded – undo
583 583
     /**
584 584
      * Returns a Content mapper mock.
585 585
      *
586
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Mapper
586
+     * @return ContentMapper
587 587
      */
588 588
     protected function getContentMapperMock()
589 589
     {
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
@@ -269,6 +269,8 @@  discard block
 block discarded – undo
269 269
     /**
270 270
      * Returns a Content fixture.
271 271
      *
272
+     * @param integer $versionNo
273
+     * @param string[] $languageCodes
272 274
      * @return \eZ\Publish\SPI\Persistence\Content
273 275
      */
274 276
     protected function getContentFixture($versionNo, $languageCodes)
@@ -320,7 +322,7 @@  discard block
 block discarded – undo
320 322
     /**
321 323
      * Returns a Content StorageHandler mock.
322 324
      *
323
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler
325
+     * @return StorageHandler
324 326
      */
325 327
     protected function getContentStorageHandlerMock()
326 328
     {
@@ -334,7 +336,7 @@  discard block
 block discarded – undo
334 336
     /**
335 337
      * Returns a Content mapper mock.
336 338
      *
337
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Mapper
339
+     * @return ContentMapper
338 340
      */
339 341
     protected function getContentMapperMock()
340 342
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Tests/Content/Type/MapperTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -413,7 +413,7 @@
 block discarded – undo
413 413
     /**
414 414
      * Returns a converter registry mock.
415 415
      *
416
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\ConverterRegistry
416
+     * @return \PHPUnit_Framework_MockObject_MockObject
417 417
      */
418 418
     protected function getConverterRegistryMock()
419 419
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Common/Tests/Output/FieldTypeSerializerTest.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -408,6 +408,9 @@  discard block
 block discarded – undo
408 408
         );
409 409
     }
410 410
 
411
+    /**
412
+     * @return FieldTypeService
413
+     */
411 414
     protected function getFieldTypeServiceMock()
412 415
     {
413 416
         if (!isset($this->fieldTypeServiceMock)) {
@@ -417,6 +420,9 @@  discard block
 block discarded – undo
417 420
         return $this->fieldTypeServiceMock;
418 421
     }
419 422
 
423
+    /**
424
+     * @return FieldTypeProcessorRegistry
425
+     */
420 426
     protected function getFieldTypeProcessorRegistryMock()
421 427
     {
422 428
         if (!isset($this->fieldTypeProcessorRegistryMock)) {
@@ -435,6 +441,9 @@  discard block
 block discarded – undo
435 441
         return $this->fieldTypeProcessorMock;
436 442
     }
437 443
 
444
+    /**
445
+     * @return APIContentType
446
+     */
438 447
     protected function getContentTypeMock()
439 448
     {
440 449
         if (!isset($this->contentTypeMock)) {
@@ -453,6 +462,9 @@  discard block
 block discarded – undo
453 462
         return $this->fieldTypeMock;
454 463
     }
455 464
 
465
+    /**
466
+     * @return Generator
467
+     */
456 468
     protected function getGeneratorMock()
457 469
     {
458 470
         if (!isset($this->generatorMock)) {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Common/Tests/Output/ValueObjectVisitorBaseTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     }
140 140
 
141 141
     /**
142
-     * @return \eZ\Publish\Core\REST\Common\RequestParser|\PHPUnit_Framework_MockObject_MockObject
142
+     * @return RequestParser
143 143
      */
144 144
     protected function getRequestParser()
145 145
     {
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     }
152 152
 
153 153
     /**
154
-     * @return \Symfony\Component\Routing\RouterInterface|\PHPUnit_Framework_MockObject_MockObject
154
+     * @return RouterInterface
155 155
      */
156 156
     protected function getRouterMock()
157 157
     {
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     }
192 192
 
193 193
     /**
194
-     * @return \Symfony\Component\Routing\RouterInterface|\PHPUnit_Framework_MockObject_MockObject
194
+     * @return RouterInterface
195 195
      */
196 196
     protected function getTemplatedRouterMock()
197 197
     {
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 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 Visitor
128 128
      */
129 129
     private function getOutputVisitorMock()
130 130
     {
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     }
137 137
 
138 138
     /**
139
-     * @return \PHPUnit_Framework_MockObject_MockObject|Common\Output\Generator
139
+     * @return Generator
140 140
      */
141 141
     private function getOutputGeneratorMock()
142 142
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Tests/Input/Parser/BaseTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     /**
64 64
      * Get the Request parser.
65 65
      *
66
-     * @return \eZ\Publish\Core\REST\Common\RequestParser|\PHPUnit_Framework_MockObject_MockObject
66
+     * @return RequestParser
67 67
      */
68 68
     protected function getRequestParserMock()
69 69
     {
Please login to merge, or discard this patch.