Skip to content
Snippets Groups Projects
Commit 2489a675 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #3322

Closes #3322

Merge request studip/studip!2256
parent 1460ee53
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ class OptionsWidget extends ListWidget ...@@ -31,7 +31,7 @@ class OptionsWidget extends ListWidget
*/ */
public function addCheckbox( public function addCheckbox(
string $label, string $label,
bool $state, $state,
string $toggle_url, string $toggle_url,
?string $toggle_url_off = null, ?string $toggle_url_off = null,
array $attributes = [] array $attributes = []
...@@ -64,7 +64,7 @@ class OptionsWidget extends ListWidget ...@@ -64,7 +64,7 @@ class OptionsWidget extends ListWidget
public function addRadioButton( public function addRadioButton(
string $label, string $label,
string $url, string $url,
bool $checked = false, $checked = false,
array $attributes = [] array $attributes = []
): ButtonElement { ): ButtonElement {
// TODO: Remove this some versions after 5.0 // TODO: Remove this some versions after 5.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment