Replace array() with []
arogachev opened this issue · comments
Alexey Rogachev commented
Since Yii 2 requires PHP >= 5.4 I think it's better replace array()
declaration with shorter option []
.
Scott Huang(ZhiLiang) commented
Thanks for your comment. It is ok to use both array() or [].