Hi just a little bug.
If I don't declare icon-framework in params and I call Icon::show('icon', [], Icon::FA) for example, PHP throws a Notice Error
in Icon.php line #63
protected static function getFramework($framework = null) {
.....
if (!in_array(Yii::$app->params['icon-framework'], array_keys(self::$_frameworks))) {
.....
}
should be
if (isset(Yii::$app->params['icon-framework']) && !in_array(Yii::$app->params['icon-framework'], array_keys(self::$_frameworks))) {
Hi just a little bug. If I don't declare icon-framework in params and I call Icon::show('icon', [], Icon::FA) for example, PHP throws a Notice Error in Icon.php line #63
should be