Removing usage of short array notation

This commit is contained in:
Klaus Silveira
2014-05-17 12:35:00 -03:00
parent a8572f6aa9
commit d3509a4dc7

View File

@@ -37,7 +37,7 @@ class Application extends SilexApplication
// Register services
$this->register(new TwigServiceProvider(), array(
'twig.path' => [$this->getThemePath($this['theme']), $this->getThemePath('default')],
'twig.path' => array($this->getThemePath($this['theme']), $this->getThemePath('default')),
'twig.options' => $config->get('app', 'cache') ?
array('cache' => $this->getCachePath() . 'views') : array(),
));