@@ -39,6 +39,9 @@ discard block |
||
39 | 39 | |
40 | 40 | protected $hashReference; |
41 | 41 | |
42 | + /** |
|
43 | + * @return \eZ\Publish\Core\FieldType\Page\PageService |
|
44 | + */ |
|
42 | 45 | private function getPageServiceMock() |
43 | 46 | { |
44 | 47 | if (!isset($this->pageServiceMock)) { |
@@ -63,7 +66,7 @@ discard block |
||
63 | 66 | * NOT take care for test case wide caching of the field type, just return |
64 | 67 | * a new instance from this method! |
65 | 68 | * |
66 | - * @return FieldType |
|
69 | + * @return PageType |
|
67 | 70 | */ |
68 | 71 | protected function createFieldTypeUnderTest() |
69 | 72 | { |
@@ -63,7 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * Returns the empty value expected from the field type. |
65 | 65 | * |
66 | - * @return mixed |
|
66 | + * @return Value |
|
67 | 67 | */ |
68 | 68 | protected function getEmptyValueExpectation() |
69 | 69 | { |
@@ -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 | { |
@@ -361,7 +361,7 @@ discard block |
||
361 | 361 | } |
362 | 362 | |
363 | 363 | /** |
364 | - * @param array $methods |
|
364 | + * @param string[] $methods |
|
365 | 365 | * |
366 | 366 | * @return \eZ\Publish\Core\FieldType\RichText\RichTextStorage|\PHPUnit_Framework_MockObject_MockObject |
367 | 367 | */ |
@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | } |
379 | 379 | |
380 | 380 | /** |
381 | - * @return array |
|
381 | + * @return string[] |
|
382 | 382 | */ |
383 | 383 | protected function getContext() |
384 | 384 | { |
@@ -391,7 +391,7 @@ discard block |
||
391 | 391 | protected $loggerMock; |
392 | 392 | |
393 | 393 | /** |
394 | - * @return \Psr\Log\LoggerInterface|\PHPUnit_Framework_MockObject_MockObject |
|
394 | + * @return integer |
|
395 | 395 | */ |
396 | 396 | protected function getLoggerMock() |
397 | 397 | { |
@@ -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 | { |
@@ -234,7 +234,7 @@ discard block |
||
234 | 234 | } |
235 | 235 | |
236 | 236 | /** |
237 | - * @param array $methods |
|
237 | + * @param string[] $methods |
|
238 | 238 | * |
239 | 239 | * @return \eZ\Publish\Core\FieldType\Url\UrlStorage|\PHPUnit_Framework_MockObject_MockObject |
240 | 240 | */ |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | } |
252 | 252 | |
253 | 253 | /** |
254 | - * @return array |
|
254 | + * @return string[] |
|
255 | 255 | */ |
256 | 256 | protected function getContext() |
257 | 257 | { |
@@ -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 | { |
@@ -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 UserType |
|
32 | 32 | */ |
33 | 33 | protected function createFieldTypeUnderTest() |
34 | 34 | { |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | /** |
72 | 72 | * Returns if the given $value is considered empty by the field type. |
73 | 73 | * |
74 | - * @param mixed $value |
|
74 | + * @param SPIValue $value |
|
75 | 75 | * |
76 | 76 | * @return bool |
77 | 77 | */ |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | * |
120 | 120 | * @param \eZ\Publish\Core\FieldType\TextBlock\Value $value |
121 | 121 | * |
122 | - * @return array |
|
122 | + * @return boolean |
|
123 | 123 | */ |
124 | 124 | protected function getSortInfo(BaseValue $value) |
125 | 125 | { |