@@ -38,16 +38,16 @@ |
||
38 | 38 | |
39 | 39 | public function register(Application $app) |
40 | 40 | { |
41 | - $app['config'] = $app->share(function () |
|
41 | + $app['config'] = $app->share(function() |
|
42 | 42 | { |
43 | 43 | if ($this->cache_dir) |
44 | 44 | { |
45 | 45 | $cache = $this->getConfigCacheFactory()->cache($this->cache_dir.'/config.cache.php', |
46 | - function (ConfigCacheInterface $cache) |
|
46 | + function(ConfigCacheInterface $cache) |
|
47 | 47 | { |
48 | 48 | $config = $this->loadConfig(); |
49 | 49 | |
50 | - $content = sprintf('<?php use Junker\Silex\Config; $c = new Config(%s);', var_export($config->data, TRUE)) . PHP_EOL; |
|
50 | + $content = sprintf('<?php use Junker\Silex\Config; $c = new Config(%s);', var_export($config->data, TRUE)).PHP_EOL; |
|
51 | 51 | $content .= 'return $c;'; |
52 | 52 | |
53 | 53 | $cache->write($content, $config->getResources()); |
@@ -67,7 +67,7 @@ |
||
67 | 67 | return $data; |
68 | 68 | } |
69 | 69 | |
70 | - private function parseImports(Config &$config, $file) |
|
70 | + private function parseImports(Config&$config, $file) |
|
71 | 71 | { |
72 | 72 | |
73 | 73 |