@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * This is the preferred way of setting the element's value |
| 29 | 29 | * |
| 30 | 30 | * @param null|string $value |
| 31 | - * @return string|$this |
|
| 31 | + * @return string |
|
| 32 | 32 | */ |
| 33 | 33 | public function val($value = null) |
| 34 | 34 | { |
@@ -2,9 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace dokuwiki\Ui; |
| 4 | 4 | |
| 5 | -use dokuwiki\Extension\Event; |
|
| 6 | -use dokuwiki\Form\Form; |
|
| 7 | - |
|
| 8 | 5 | /** |
| 9 | 6 | * DokuWiki Locked Insterface |
| 10 | 7 | * |
@@ -664,7 +664,7 @@ |
||
| 664 | 664 | * @param string $name Name attribute of the input. |
| 665 | 665 | * @param string[]|array[] $values The list of values can be strings, arrays of (value,text), |
| 666 | 666 | * or an associative array with the values as keys and labels as values. |
| 667 | - * @param array|string $selected value or array of values of the items that need to be selected |
|
| 667 | + * @param string $selected value or array of values of the items that need to be selected |
|
| 668 | 668 | * @param string $class Class attribute of the label. If this is 'block', |
| 669 | 669 | * then a line break will be added after the field. |
| 670 | 670 | * @param string $label Label that will be printed before the input. |