Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

Commit

Permalink
feat: support php 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tu6ge committed Dec 19, 2020
1 parent fd853f9 commit f42692e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/View/Components/Cascader.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ class Cascader extends InputAbstract
/**
* asynchronous request url.
*
* @string
* @var string
*/
public string $resource;
public $resource;

/**
* There are two ways (hover or click) to expand child option items.
*
* @var string
*/
public string $trigger = 'click';
public $trigger = 'click';

public function __construct(
$name,
Expand Down
2 changes: 1 addition & 1 deletion src/View/Components/Checkbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Checkbox extends InputAbstract
*
* @var array
*/
public array $arr_value;
public $arr_value;

public function __construct(
$name,
Expand Down
2 changes: 1 addition & 1 deletion src/View/Components/InputAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ abstract class InputAbstract extends Component
*
* @var string
*/
public string $type = '';
public $type = '';

public function __construct($name, $value = null, $id = null, $type = '')
{
Expand Down
6 changes: 3 additions & 3 deletions src/View/Components/TimeRange.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ class TimeRange extends InputAbstract
*
* @var array
*/
public array $array_value = [];
public $array_value = [];
/**
* set default value format ,eg: hh:mm:ss .
*
* @var string
*/
public string $format = '';
public $format = '';

/**
* set element UI component time-picker picker_options.
*
* @var array
*/
public array $picker_options = [];
public $picker_options = [];

public function __construct(
$name,
Expand Down
2 changes: 1 addition & 1 deletion src/View/Components/TimeSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class TimeSelect extends InputAbstract
*
* @var array
*/
public array $picker_options = [];
public $picker_options = [];

public function __construct(
$name,
Expand Down

0 comments on commit f42692e

Please sign in to comment.