@@ -23,7 +23,7 @@ |
||
23 | 23 | * NOT take care for test case wide caching of the field type, just return |
24 | 24 | * a new instance from this method! |
25 | 25 | * |
26 | - * @return FieldType |
|
26 | + * @return MapLocation\Type |
|
27 | 27 | */ |
28 | 28 | protected function createFieldTypeUnderTest() |
29 | 29 | { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * NOT take care for test case wide caching of the field type, just return |
29 | 29 | * a new instance from this method! |
30 | 30 | * |
31 | - * @return FieldType |
|
31 | + * @return MediaType |
|
32 | 32 | */ |
33 | 33 | protected function createFieldTypeUnderTest() |
34 | 34 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | * NOT take care for test case wide caching of the field type, just return |
28 | 28 | * a new instance from this method! |
29 | 29 | * |
30 | - * @return \eZ\Publish\Core\FieldType\Relation\Type |
|
30 | + * @return RelationList |
|
31 | 31 | */ |
32 | 32 | protected function createFieldTypeUnderTest() |
33 | 33 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | * NOT take care for test case wide caching of the field type, just return |
31 | 31 | * a new instance from this method! |
32 | 32 | * |
33 | - * @return FieldType |
|
33 | + * @return Selection |
|
34 | 34 | */ |
35 | 35 | protected function createFieldTypeUnderTest() |
36 | 36 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * NOT take care for test case wide caching of the field type, just return |
30 | 30 | * a new instance from this method! |
31 | 31 | * |
32 | - * @return FieldType |
|
32 | + * @return Time |
|
33 | 33 | */ |
34 | 34 | protected function createFieldTypeUnderTest() |
35 | 35 | { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * NOT take care for test case wide caching of the field type, just return |
29 | 29 | * a new instance from this method! |
30 | 30 | * |
31 | - * @return FieldType |
|
31 | + * @return UrlType |
|
32 | 32 | */ |
33 | 33 | protected function createFieldTypeUnderTest() |
34 | 34 | { |
@@ -278,7 +278,7 @@ |
||
278 | 278 | } |
279 | 279 | |
280 | 280 | /** |
281 | - * @param mixed $spiBinaryFileId |
|
281 | + * @param string $spiBinaryFileId |
|
282 | 282 | * |
283 | 283 | * @return string |
284 | 284 | * |
@@ -76,6 +76,10 @@ |
||
76 | 76 | |
77 | 77 | /** |
78 | 78 | * @throws NotImplementedException If Content is missing location as this is not supported in current version |
79 | + * @param integer $contentId |
|
80 | + * @param integer $versionNo |
|
81 | + * @param string $language |
|
82 | + * @param string $siteAccessName |
|
79 | 83 | */ |
80 | 84 | public function previewContentAction(Request $request, $contentId, $versionNo, $language, $siteAccessName = null) |
81 | 85 | { |
@@ -374,6 +374,11 @@ |
||
374 | 374 | } |
375 | 375 | } |
376 | 376 | |
377 | + /** |
|
378 | + * @param string $viewType |
|
379 | + * @param integer $contentId |
|
380 | + * @param integer $locationId |
|
381 | + */ |
|
377 | 382 | protected function handleViewException(Response $response, $params, Exception $e, $viewType, $contentId = null, $locationId = null) |
378 | 383 | { |
379 | 384 | $event = new APIContentExceptionEvent( |