Skip to content

Commit

Permalink
fix: for typecho 1.2.0 beta
Browse files Browse the repository at this point in the history
close #15
  • Loading branch information
Rainshaw committed Jan 29, 2022
1 parent 6fdf290 commit 23de3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/formelement/MDCheckbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function __construct($name = NULL, array $options = NULL, $value = NULL,
* @param array $options 选择项
* @return Typecho_Widget_Helper_Layout
*/
public function input($name = NULL, array $options = NULL):?Typecho_Widget_Helper_Layout
public function input(?string $name = NULL, ?array $options = NULL):?Typecho_Widget_Helper_Layout
{
foreach ($options as $value => $label) {

Expand Down

0 comments on commit 23de3f6

Please sign in to comment.