@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -132,7 +132,7 @@ |
||
| 132 | 132 | * |
| 133 | 133 | * @param string $url The URL to insert in the database |
| 134 | 134 | * |
| 135 | - * @return int |
|
| 135 | + * @return string |
|
| 136 | 136 | */ |
| 137 | 137 | public function insertUrl($url) |
| 138 | 138 | { |
@@ -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 | * |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | * @covers \eZ\Publish\Core\IO\IOService::loadBinaryFile |
| 219 | 219 | * @expectedException \eZ\Publish\Core\Base\Exceptions\NotFoundException |
| 220 | 220 | * |
| 221 | - * @return mixed Whatever loadBinaryFile returns |
|
| 221 | + * @return BinaryFile Whatever loadBinaryFile returns |
|
| 222 | 222 | */ |
| 223 | 223 | public function testLoadBinaryFileNotFound() |
| 224 | 224 | { |
@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | } |
| 263 | 263 | |
| 264 | 264 | /** |
| 265 | - * @return mixed Whatever loadBinaryFileByUri returns |
|
| 265 | + * @return BinaryFile Whatever loadBinaryFileByUri returns |
|
| 266 | 266 | * @expectedException \eZ\Publish\Core\Base\Exceptions\NotFoundException |
| 267 | 267 | */ |
| 268 | 268 | public function testLoadBinaryFileByUriNotFound() |
@@ -450,8 +450,9 @@ discard block |
||
| 450 | 450 | * Asserts that the given $ioCreateStruct is of the right type and that id matches the expected value. |
| 451 | 451 | * |
| 452 | 452 | * @param $ioCreateStruct |
| 453 | + * @param string $spiId |
|
| 453 | 454 | * |
| 454 | - * @return bool |
|
| 455 | + * @return \Closure |
|
| 455 | 456 | */ |
| 456 | 457 | private function getSPIBinaryFileCreateStructCallback($spiId) |
| 457 | 458 | { |