code style fixes

This commit is contained in:
Alexander Makarov
2013-08-13 02:43:47 +04:00
parent edb77393b2
commit 0596fa82fd
67 changed files with 290 additions and 302 deletions

View File

@ -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));
}));