@@ -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 | { |
@@ -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 | { |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | /** |
184 | 184 | * Returns if the given $value is considered empty by the field type. |
185 | 185 | * |
186 | - * @param mixed $value |
|
186 | + * @param SPIValue $value |
|
187 | 187 | * |
188 | 188 | * @return bool |
189 | 189 | */ |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | * |
232 | 232 | * @param \eZ\Publish\Core\FieldType\TextLine\Value $value |
233 | 233 | * |
234 | - * @return array |
|
234 | + * @return string |
|
235 | 235 | */ |
236 | 236 | protected function getSortInfo(BaseValue $value) |
237 | 237 | { |
@@ -106,7 +106,7 @@ |
||
106 | 106 | * |
107 | 107 | * @param \eZ\Publish\Core\FieldType\Url\Value $value |
108 | 108 | * |
109 | - * @return array |
|
109 | + * @return boolean |
|
110 | 110 | */ |
111 | 111 | protected function getSortInfo(BaseValue $value) |
112 | 112 | { |
@@ -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 | { |
@@ -213,6 +213,11 @@ |
||
213 | 213 | $this->assertFalse($normalizer->accept($input)); |
214 | 214 | } |
215 | 215 | |
216 | + /** |
|
217 | + * @param string $documentElement |
|
218 | + * @param string $namespace |
|
219 | + * @param string $dtdPath |
|
220 | + */ |
|
216 | 221 | protected function getNormalizer($documentElement, $namespace, $dtdPath) |
217 | 222 | { |
218 | 223 | return new DocumentTypeDefinition($documentElement, $namespace, $dtdPath); |
@@ -41,7 +41,7 @@ |
||
41 | 41 | * Registers an eZ Publish field type. |
42 | 42 | * Field types are being registered as a closure so that they will be lazy loaded. |
43 | 43 | * |
44 | - * @param string $nameableFieldTypeServiceId The field type nameable service Id |
|
44 | + * @param string $fieldTypeServiceId The field type nameable service Id |
|
45 | 45 | * @param string $fieldTypeAlias The field type alias (e.g. "ezstring") |
46 | 46 | */ |
47 | 47 | public function registerNonNameableFieldType($fieldTypeServiceId, $fieldTypeAlias) |