@@ -1141,7 +1141,7 @@ discard block |
||
| 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 |
||
| 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 | */ |
@@ -510,7 +510,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -268,6 +268,8 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
| 27 | 27 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
| 28 | 28 | * |
| 29 | - * @return \eZ\Publish\SPI\Search\Field[] |
|
| 29 | + * @return Search\Field[] |
|
| 30 | 30 | */ |
| 31 | 31 | public function getIndexData(Field $field, FieldDefinition $fieldDefinition) |
| 32 | 32 | { |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | * |
| 107 | 107 | * @param \eZ\Publish\Core\FieldType\Url\Value $value |
| 108 | 108 | * |
| 109 | - * @return array |
|
| 109 | + * @return boolean |
|
| 110 | 110 | */ |
| 111 | 111 | protected function getSortInfo(BaseValue $value) |
| 112 | 112 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
| 27 | 27 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
| 28 | 28 | * |
| 29 | - * @return \eZ\Publish\SPI\Search\Field[] |
|
| 29 | + * @return Search\Field[] |
|
| 30 | 30 | */ |
| 31 | 31 | public function getIndexData(Field $field, FieldDefinition $fieldDefinition) |
| 32 | 32 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
| 27 | 27 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
| 28 | 28 | * |
| 29 | - * @return \eZ\Publish\SPI\Search\Field[] |
|
| 29 | + * @return Search\Field[] |
|
| 30 | 30 | */ |
| 31 | 31 | public function getIndexData(Field $field, FieldDefinition $fieldDefinition) |
| 32 | 32 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
| 27 | 27 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
| 28 | 28 | * |
| 29 | - * @return \eZ\Publish\SPI\Search\Field[] |
|
| 29 | + * @return Search\Field[] |
|
| 30 | 30 | */ |
| 31 | 31 | public function getIndexData(Field $field, FieldDefinition $fieldDefinition) |
| 32 | 32 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
| 27 | 27 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
| 28 | 28 | * |
| 29 | - * @return \eZ\Publish\SPI\Search\Field[] |
|
| 29 | + * @return Search\Field[] |
|
| 30 | 30 | */ |
| 31 | 31 | public function getIndexData(Field $field, FieldDefinition $fieldDefinition) |
| 32 | 32 | { |