@@ -168,7 +168,7 @@ |
||
168 | 168 | * |
169 | 169 | * @param \eZ\Publish\Core\FieldType\Country\Value $value |
170 | 170 | * |
171 | - * @return array |
|
171 | + * @return string |
|
172 | 172 | */ |
173 | 173 | protected function getSortInfo(BaseValue $value) |
174 | 174 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * Returns if the given $value is considered empty by the field type. |
78 | 78 | * |
79 | - * @param mixed $value |
|
79 | + * @param SPIValue $value |
|
80 | 80 | * |
81 | 81 | * @return bool |
82 | 82 | */ |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | * |
181 | 181 | * @param \eZ\Publish\Core\FieldType\ISBN\Value $value |
182 | 182 | * |
183 | - * @return array |
|
183 | + * @return string |
|
184 | 184 | */ |
185 | 185 | protected function getSortInfo(BaseValue $value) |
186 | 186 | { |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | /** |
191 | 191 | * Converts an $hash to the Value defined by the field type. |
192 | 192 | * |
193 | - * @param mixed $hash |
|
193 | + * @param string $hash |
|
194 | 194 | * |
195 | 195 | * @return \eZ\Publish\Core\FieldType\ISBN\Value $value |
196 | 196 | */ |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * This value will be used, if no value was provided for a field of this |
109 | 109 | * type and no default value was specified in the field definition. |
110 | 110 | * |
111 | - * @return mixed |
|
111 | + * @return Value |
|
112 | 112 | */ |
113 | 113 | public function getEmptyValue() |
114 | 114 | { |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | * |
218 | 218 | * @param \eZ\Publish\Core\FieldType\Page\Value $value |
219 | 219 | * |
220 | - * @return mixed |
|
220 | + * @return boolean |
|
221 | 221 | */ |
222 | 222 | protected function getSortInfo(BaseValue $value) |
223 | 223 | { |
@@ -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 | { |
@@ -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 | { |
@@ -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 FloatType |
|
33 | 33 | */ |
34 | 34 | protected function createFieldTypeUnderTest() |
35 | 35 | { |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | class FloatValueValidatorTest extends PHPUnit_Framework_TestCase |
22 | 22 | { |
23 | 23 | /** |
24 | - * @return float |
|
24 | + * @return integer |
|
25 | 25 | */ |
26 | 26 | protected function getMinFloatValue() |
27 | 27 | { |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
32 | - * @return float |
|
32 | + * @return integer |
|
33 | 33 | */ |
34 | 34 | protected function getMaxFloatValue() |
35 | 35 | { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | * NOT take care for test case wide caching of the field type, just return |
53 | 53 | * a new instance from this method! |
54 | 54 | * |
55 | - * @return FieldType |
|
55 | + * @return ImageType |
|
56 | 56 | */ |
57 | 57 | protected function createFieldTypeUnderTest() |
58 | 58 | { |
@@ -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 Integer |
|
33 | 33 | */ |
34 | 34 | protected function createFieldTypeUnderTest() |
35 | 35 | { |