@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | /** |
| 139 | 139 | * Returns if the given $value is considered empty by the field type. |
| 140 | 140 | * |
| 141 | - * @param mixed $value |
|
| 141 | + * @param SPIValue $value |
|
| 142 | 142 | * |
| 143 | 143 | * @return bool |
| 144 | 144 | */ |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | * |
| 191 | 191 | * @param \eZ\Publish\Core\FieldType\Relation\Value $value |
| 192 | 192 | * |
| 193 | - * @return mixed |
|
| 193 | + * @return string |
|
| 194 | 194 | */ |
| 195 | 195 | protected function getSortInfo(BaseValue $value) |
| 196 | 196 | { |
@@ -211,7 +211,7 @@ |
||
| 211 | 211 | * |
| 212 | 212 | * @param \eZ\Publish\Core\FieldType\RelationList\Value $value |
| 213 | 213 | * |
| 214 | - * @return array |
|
| 214 | + * @return boolean |
|
| 215 | 215 | */ |
| 216 | 216 | protected function getSortInfo(BaseValue $value) |
| 217 | 217 | { |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | * Processes single embed element type (ezembed or ezembedinline). |
| 58 | 58 | * |
| 59 | 59 | * @param \DOMDocument $document |
| 60 | - * @param $tagName string name of the tag to extract |
|
| 60 | + * @param string $tagName string name of the tag to extract |
|
| 61 | 61 | * @param bool $isInline |
| 62 | 62 | */ |
| 63 | 63 | protected function processTag(DOMDocument $document, $tagName, $isInline) |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | * @param \DOMElement $embed |
| 115 | 115 | * @param $tagName string name of the tag to extract |
| 116 | 116 | * |
| 117 | - * @return array |
|
| 117 | + * @return boolean |
|
| 118 | 118 | */ |
| 119 | 119 | protected function extractParameters(DOMElement $embed, $tagName) |
| 120 | 120 | { |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | * |
| 65 | 65 | * Non-existent ids are ignored. |
| 66 | 66 | * |
| 67 | - * @param array $remoteIds An array of Content remote ids |
|
| 67 | + * @param string[] $remoteIds An array of Content remote ids |
|
| 68 | 68 | * |
| 69 | 69 | * @return array An array of Content ids, with remote ids as keys |
| 70 | 70 | */ |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | * It will be used to generate content name and url alias if current field is designated |
| 126 | 126 | * to be used in the content name/urlAlias pattern. |
| 127 | 127 | * |
| 128 | - * @param mixed $value |
|
| 128 | + * @param SPIValue $value |
|
| 129 | 129 | * |
| 130 | 130 | * @return string |
| 131 | 131 | */ |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | * |
| 233 | 233 | * @param \eZ\Publish\Core\FieldType\Selection\Value $value |
| 234 | 234 | * |
| 235 | - * @return array |
|
| 235 | + * @return string |
|
| 236 | 236 | */ |
| 237 | 237 | protected function getSortInfo(BaseValue $value) |
| 238 | 238 | { |
@@ -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 BinaryFileType |
|
| 32 | 32 | */ |
| 33 | 33 | protected function createFieldTypeUnderTest() |
| 34 | 34 | { |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | * NOT take care for test case wide caching of the field type, just return |
| 35 | 35 | * a new instance from this method! |
| 36 | 36 | * |
| 37 | - * @return FieldType |
|
| 37 | + * @return Country |
|
| 38 | 38 | */ |
| 39 | 39 | protected function createFieldTypeUnderTest() |
| 40 | 40 | { |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | /** |
| 112 | 112 | * Returns the empty value expected from the field type. |
| 113 | 113 | * |
| 114 | - * @return \eZ\Publish\Core\FieldType\Checkbox\Value |
|
| 114 | + * @return CountryValue |
|
| 115 | 115 | */ |
| 116 | 116 | protected function getEmptyValueExpectation() |
| 117 | 117 | { |
@@ -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 Date |
|
| 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 EmailAddressType |
|
| 33 | 33 | */ |
| 34 | 34 | protected function createFieldTypeUnderTest() |
| 35 | 35 | { |