mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
code style fixes
This commit is contained in:
@ -46,7 +46,7 @@ class ViewRenderer extends BaseViewRenderer
|
||||
'cache' => Yii::getAlias($this->cachePath),
|
||||
), $this->options));
|
||||
|
||||
$this->twig->addFunction('path', new \Twig_Function_Function(function($path, $args = array()){
|
||||
$this->twig->addFunction('path', new \Twig_Function_Function(function ($path, $args = array()) {
|
||||
return Html::url(array_merge(array($path), $args));
|
||||
}));
|
||||
|
||||
|
Reference in New Issue
Block a user