我需要适当缩减这些法典的空白:
$this->render( rights , array(
admin => $admin,
editor => $editor,
author => $author,
));
and:
<?php $this->widget( zii.widgets.CMenu , array(
items => array(
array( label => label , url => url )
)
)); ?>
如果没有PHPStorm环境,那么这一法典就象这样:
$this->render( rights , array(
admin => $admin,
editor => $editor,
author => $author,
));
我去了“地貌”和“地貌”;“闪光”和“布拉斯”,并在以下选择中做了改动:
- Array initializer -> Align when multiple (uncheck)
- Method call arguments -> Align when multiple (uncheck)
结果是:
$this->render( rights , array(
admin => $admin,
editor => $editor,
author => $author,
));
然而,并非我所希望的风格,而是我设法做到的。 请让我谈谈我需要改变的选择吗?