@@ -1105,7 +1105,7 @@ |
||
| 1105 | 1105 | } |
| 1106 | 1106 | |
| 1107 | 1107 | /** |
| 1108 | - * @param $locationCacheMissed |
|
| 1108 | + * @param \PHPUnit_Framework_MockObject_MockObject $locationCacheMissed |
|
| 1109 | 1109 | */ |
| 1110 | 1110 | protected function prepareDeleteMocks($locationCacheMissed) |
| 1111 | 1111 | { |
@@ -1462,7 +1462,7 @@ |
||
| 1462 | 1462 | /** |
| 1463 | 1463 | * Returns a TreeHandler mock. |
| 1464 | 1464 | * |
| 1465 | - * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler |
|
| 1465 | + * @return TreeHandler |
|
| 1466 | 1466 | */ |
| 1467 | 1467 | protected function getTreeHandlerMock() |
| 1468 | 1468 | { |
@@ -1008,7 +1008,7 @@ discard block |
||
| 1008 | 1008 | /** |
| 1009 | 1009 | * Returns a Mapper mock. |
| 1010 | 1010 | * |
| 1011 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper|\PHPUnit_Framework_MockObject_MockObject |
|
| 1011 | + * @return Mapper |
|
| 1012 | 1012 | */ |
| 1013 | 1013 | protected function getMapperMock() |
| 1014 | 1014 | { |
@@ -1022,7 +1022,7 @@ discard block |
||
| 1022 | 1022 | /** |
| 1023 | 1023 | * Returns a mock object for the Content Gateway. |
| 1024 | 1024 | * |
| 1025 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Gateway|\PHPUnit_Framework_MockObject_MockObject |
|
| 1025 | + * @return Gateway |
|
| 1026 | 1026 | */ |
| 1027 | 1027 | protected function getContentGatewayMock() |
| 1028 | 1028 | { |
@@ -1034,7 +1034,7 @@ discard block |
||
| 1034 | 1034 | } |
| 1035 | 1035 | |
| 1036 | 1036 | /** |
| 1037 | - * @return \eZ\Publish\Core\Persistence\FieldTypeRegistry|\PHPUnit_Framework_MockObject_MockObject |
|
| 1037 | + * @return FieldTypeRegistry |
|
| 1038 | 1038 | */ |
| 1039 | 1039 | protected function getFieldTypeRegistryMock() |
| 1040 | 1040 | { |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | } |
| 163 | 163 | |
| 164 | 164 | /** |
| 165 | - * @param int $languageMask |
|
| 165 | + * @param int $langMask |
|
| 166 | 166 | * @param bool $expectedResult |
| 167 | 167 | * |
| 168 | 168 | * @covers \eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator::isAlwaysAvailable |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | /** |
| 265 | 265 | * Returns a language handler mock. |
| 266 | 266 | * |
| 267 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Language\Handler |
|
| 267 | + * @return LanguageHandler |
|
| 268 | 268 | */ |
| 269 | 269 | protected function getLanguageHandler() |
| 270 | 270 | { |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | namespace eZ\Publish\Core\Persistence\Legacy\Tests\Content; |
| 10 | 10 | |
| 11 | 11 | use eZ\Publish\Core\Persistence\Legacy\Tests\TestCase; |
| 12 | -use eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler; |
|
| 12 | +use eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler as LocationHandler; |
|
| 13 | 13 | use eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway; |
| 14 | 14 | use eZ\Publish\SPI\Persistence\Content\Location\UpdateStruct; |
| 15 | 15 | use eZ\Publish\SPI\Persistence\Content\Location\CreateStruct; |
@@ -23,7 +23,6 @@ discard block |
||
| 23 | 23 | use eZ\Publish\SPI\Persistence\Content\ObjectState; |
| 24 | 24 | use eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Handler as ObjectStateHandler; |
| 25 | 25 | use eZ\Publish\SPI\Persistence\Content\ObjectState\Group as ObjectStateGroup; |
| 26 | -use eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler as LocationHandler; |
|
| 27 | 26 | |
| 28 | 27 | /** |
| 29 | 28 | * Test case for LocationHandlerTest. |
@@ -602,7 +602,7 @@ |
||
| 602 | 602 | /** |
| 603 | 603 | * Returns a language handler mock. |
| 604 | 604 | * |
| 605 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Language\Handler |
|
| 605 | + * @return Language\Handler |
|
| 606 | 606 | */ |
| 607 | 607 | protected function getLanguageHandler() |
| 608 | 608 | { |
@@ -182,7 +182,7 @@ |
||
| 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 | { |
@@ -368,7 +368,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | */ |
@@ -513,7 +513,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |