Skip to content

Commit

Permalink
Update FormHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
funadmin authored Sep 26, 2022
1 parent 00f2aa4 commit 218a391
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/helper/FormHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ public function input($name = '', $type = 'text', $options = [], $value = '')
/**
* @param string $name
* @param array $options
* @param mixed|null $value
* @param $value
* @return string
*/
public function text(string $name,array $options = [], mixed $value = null)
public function text(string $name,array $options = [], $value = null)
{
return $this->input( $name,'text',$options, $value);
}
Expand Down Expand Up @@ -631,7 +631,7 @@ public function xmselect($name = '', $select=[], $options=[], $attr=[], $value=
* @param $value
* @return string
*/
public function selectpage(string $name,array $lists= [],array $options = [],mixed $value=null)
public function selectpage(string $name,array $lists= [],array $options = [],$value=null)
{

$url = $options['url']??'';
Expand Down

0 comments on commit 218a391

Please sign in to comment.