@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | /** |
| 141 | 141 | * Sets element value. |
| 142 | 142 | * |
| 143 | - * @param mixed $value |
|
| 143 | + * @param string $value |
|
| 144 | 144 | * @return AbstractElement |
| 145 | 145 | */ |
| 146 | 146 | public function setValue($value) |
@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | /** |
| 263 | 263 | * Sets the element errors. Usually the validator should set it, but it is allowed to set from outside too. |
| 264 | 264 | * |
| 265 | - * @param array $errors |
|
| 265 | + * @param string[] $errors |
|
| 266 | 266 | * @return AbstractElement |
| 267 | 267 | */ |
| 268 | 268 | public function setErrors(array $errors) |