@@ -1430,7 +1430,7 @@ |
||
1430 | 1430 | /** |
1431 | 1431 | * Returns a TreeHandler mock. |
1432 | 1432 | * |
1433 | - * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler |
|
1433 | + * @return \eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler |
|
1434 | 1434 | */ |
1435 | 1435 | protected function getTreeHandlerMock() |
1436 | 1436 | { |
@@ -1011,7 +1011,7 @@ discard block |
||
1011 | 1011 | /** |
1012 | 1012 | * Returns a Mapper mock. |
1013 | 1013 | * |
1014 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper|\PHPUnit_Framework_MockObject_MockObject |
|
1014 | + * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper |
|
1015 | 1015 | */ |
1016 | 1016 | protected function getMapperMock() |
1017 | 1017 | { |
@@ -1031,7 +1031,7 @@ discard block |
||
1031 | 1031 | /** |
1032 | 1032 | * Returns a mock object for the Content Gateway. |
1033 | 1033 | * |
1034 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Gateway|\PHPUnit_Framework_MockObject_MockObject |
|
1034 | + * @return \eZ\Publish\Core\Persistence\Legacy\Content\Gateway |
|
1035 | 1035 | */ |
1036 | 1036 | protected function getContentGatewayMock() |
1037 | 1037 | { |
@@ -1045,7 +1045,7 @@ discard block |
||
1045 | 1045 | } |
1046 | 1046 | |
1047 | 1047 | /** |
1048 | - * @return \eZ\Publish\Core\Persistence\FieldTypeRegistry|\PHPUnit_Framework_MockObject_MockObject |
|
1048 | + * @return \eZ\Publish\Core\Persistence\FieldTypeRegistry |
|
1049 | 1049 | */ |
1050 | 1050 | protected function getFieldTypeRegistryMock() |
1051 | 1051 | { |
@@ -352,7 +352,7 @@ |
||
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 | { |
@@ -35,7 +35,7 @@ |
||
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 | { |
@@ -182,7 +182,7 @@ discard block |
||
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 |
||
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)) { |
@@ -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 | { |
@@ -211,7 +211,7 @@ |
||
211 | 211 | } |
212 | 212 | |
213 | 213 | /** |
214 | - * @param array $methods |
|
214 | + * @param string[] $methods |
|
215 | 215 | * |
216 | 216 | * @return \eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter|\PHPUnit_Framework_MockObject_MockObject |
217 | 217 | */ |