@@ -65,7 +65,7 @@ |
||
| 65 | 65 | */ |
| 66 | 66 | protected function getArgs($argsToParse = null) |
| 67 | 67 | { |
| 68 | - return array_map(function ($value) { |
|
| 68 | + return array_map(function($value) { |
|
| 69 | 69 | if ($value instanceof Param) { |
| 70 | 70 | try { |
| 71 | 71 | return $this->containerInterface->get($value->getParam()); |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | private function loadConfigFile($configName) |
| 53 | 53 | { |
| 54 | - $file = $this->getBaseDir() . '/config-' . $configName . '.php'; |
|
| 54 | + $file = $this->getBaseDir() . '/config-' . $configName . '.php'; |
|
| 55 | 55 | |
| 56 | 56 | if (!file_exists($file)) { |
| 57 | 57 | return null; |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | */ |
| 96 | 96 | public function setCache($configName, CacheInterface $cache, DateInterval $ttl = null) |
| 97 | 97 | { |
| 98 | - foreach ((array)$configName as $item) { |
|
| 98 | + foreach ((array) $configName as $item) { |
|
| 99 | 99 | try { |
| 100 | 100 | $date = empty($ttl) ? new DateInterval('P7D') : $ttl; |
| 101 | 101 | } catch (Exception $ex) { |