Skip to content

Commit

Permalink
Support to PHP 7.0 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
thtmorais committed Apr 10, 2022
1 parent 77c2c61 commit d2b36ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#CHANGELOG(Registro de alterações)

###[0.0.2] - Support to PHP 7.0 and above ([@thtmorais](https://gitlab.com/thtmorais))

###[0.0.1] - yii2-dropdown ([@thtmorais](https://gitlab.com/thtmorais))
- Alteração de CHANGELOG.md
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
}
],
"require": {
"php": ">=7.0",
"yiisoft/yii2": "~2.0.0"
},
"autoload": {
Expand Down
6 changes: 3 additions & 3 deletions src/Dropdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ class Dropdown extends Widget
/**
* @var string
*/
public string $dropdownToggleClass = 'btn btn-success';
public $dropdownToggleClass = 'btn btn-success';

/**
* @var array
*/
public array $main = [];
public $main = [];

/**
* @var array
*/
public array $subordinate = [];
public $subordinate = [];

/**
* {@inheritDoc}
Expand Down

0 comments on commit d2b36ad

Please sign in to comment.